Skip to content

Commit

Permalink
fix(run): don't ignore browserSync errors
Browse files Browse the repository at this point in the history
  • Loading branch information
k2s committed Mar 20, 2017
1 parent d6f0ada commit 6518279
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/resources/tasks/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ let serve = gulp.series(
}]
}
}, function(err, bs) {
if (err) return done(err);
let urls = bs.options.get('urls').toJS();
log(`Application Available At: ${urls.local}`);
log(`BrowserSync Available At: ${urls.ui}`);
Expand Down
1 change: 1 addition & 0 deletions lib/resources/tasks/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ let serve = gulp.series(
}]
}
}, function (err, bs) {
if (err) return done(err);
let urls = bs.options.get('urls').toJS();
console.log(`Application Available At: ${urls.local}`);
console.log(`BrowserSync Available At: ${urls.ui}`);
Expand Down

0 comments on commit 6518279

Please sign in to comment.