Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Prevent gulp from stopping because of errors #5

Merged
merged 1 commit into from
Mar 19, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions gulpfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -168,3 +168,8 @@ gulp.task 'default', defaultTasks , ->
http.createServer ecstatic root : "#{__dirname}/playground"
.listen(8080)
gutil.log gutil.colors.blue 'HTTP server ready localhost:8080'


process.on 'uncaughtException', (e)->
gutil.log gutil.colors.red "An error has occured: #{e.name}"
console.error e