Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Commit 43bd95e

Browse files
author
Fatme
authoredSep 25, 2018
fix: attach to process's exit event on correct place (#671)
1 parent b7a657b commit 43bd95e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎lib/before-watch.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ module.exports = function ($logger, $liveSyncService, $devicesService, hookArgs)
1212
stopWebpackCompiler(platform);
1313
}
1414
});
15+
});
1516

16-
process.on("exit", () => {
17-
stopWebpackCompiler();
18-
});
17+
process.on("exit", () => {
18+
stopWebpackCompiler();
1919
});
2020

2121
const platforms = hookArgs.config.platforms;

0 commit comments

Comments
 (0)
This repository has been archived.