From 61dcf19fe5107649f4da1c9db49afd62e50fd0a8 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) --- packages/core/parcel/src/Bundler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/parcel/src/Bundler.js b/packages/core/parcel/src/Bundler.js index dd7d17312a8..d02c93eb857 100644 --- a/packages/core/parcel/src/Bundler.js +++ b/packages/core/parcel/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(); } } }