Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Commit

Permalink
Reject on error
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-andrews committed Jun 18, 2015
1 parent 4b9bd23 commit a365ef9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tasks/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ function run(task, opts) {
console.log("Watching " + getGlob(task) + " and will trigger " + task);
gulp.watch(getGlob(task), [task]);
} else {
gulp.start([task], resolve);
gulp.start([task], resolve)
.on('error', reject);
}
});
}
Expand Down

0 comments on commit a365ef9

Please sign in to comment.