Skip to content

Commit

Permalink
Merge pull request #650 from dprotaso/patch-1
Browse files Browse the repository at this point in the history
Don't exit if an error occurs while watching
  • Loading branch information
am11 committed Feb 6, 2015
2 parents a4c45a5 + 0fe3bbe commit 6683be0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/node-sass
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,9 @@ function getEmitter() {

emitter.on('error', function(err) {
console.error(err);
process.exit(1);
if (!options.watch) {
process.exit(1);
}
});

emitter.on('warn', function(data){
Expand Down

0 comments on commit 6683be0

Please sign in to comment.