Commit 6683be0c by Adeel Mujahid

Merge pull request #650 from dprotaso/patch-1

Don't exit if an error occurs while watching
parents a4c45a54 0fe3bbe5
...@@ -98,7 +98,9 @@ function getEmitter() { ...@@ -98,7 +98,9 @@ function getEmitter() {
emitter.on('error', function(err) { emitter.on('error', function(err) {
console.error(err); console.error(err);
if (!options.watch) {
process.exit(1); process.exit(1);
}
}); });
emitter.on('warn', function(data){ emitter.on('warn', function(data){
......
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