From 4316ff5791793319466cf808ee44c31e0642c88b Mon Sep 17 00:00:00 2001 From: Tobias Bocanegra Date: Thu, 19 Jul 2018 11:49:27 +0900 Subject: [PATCH] Using the bundler via API doesn't terminate all workers #1723 (#1760) --- src/Bundler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundler.js b/src/Bundler.js index dd7d17312a8..d02c93eb857 100644 --- a/src/Bundler.js +++ b/src/Bundler.js @@ -329,7 +329,7 @@ class Bundler extends EventEmitter { // If not in watch mode, stop the worker farm so we don't keep the process running. if (!this.watcher && this.options.killWorkers) { - this.stop(); + await this.stop(); } } }