Commit fda34bad by Adeel Mujahid

Merge pull request #628 from xzyfer/fix/dont-exit-if-watching

Dont exit on successful compilation if watching
parents 845326cc a9b8dbb8
...@@ -108,7 +108,11 @@ function getEmitter() { ...@@ -108,7 +108,11 @@ function getEmitter() {
console.log(data); console.log(data);
}); });
emitter.on('done', process.exit); emitter.on('done', function() {
if (!options.watch) {
process.exit;
}
});
return emitter; return emitter;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment