Commit a9b8dbb8 by xzyfer

Dont exit on successful compilation if watching

parent 845326cc
...@@ -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