From d24117e5d6b825309a4993beb72b30a38b52297e Mon Sep 17 00:00:00 2001 From: Tobias Bocanegra Date: Thu, 19 Jul 2018 11:26:22 +0900 Subject: [PATCH] Using the bundler via API doesn't terminate all workers #1723 --- 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(); } } }