diff --git a/lib/before-watch.js b/lib/before-watch.js index c38f025c..71320cf2 100644 --- a/lib/before-watch.js +++ b/lib/before-watch.js @@ -12,10 +12,10 @@ module.exports = function ($logger, $liveSyncService, $devicesService, hookArgs) stopWebpackCompiler(platform); } }); + }); - process.on("exit", () => { - stopWebpackCompiler(); - }); + process.on("exit", () => { + stopWebpackCompiler(); }); const platforms = hookArgs.config.platforms;