arikwex / quick-sip

Gulp build process tasks that provide watchify and sass compilation.
MIT License
1 stars 9 forks source link

Add browser-sync hooks for reloading browser after file changes #8

Open kentmw opened 9 years ago

kentmw commented 9 years ago

On most of our tasks like copyResourcs, buildApp, and buildStyles, I'd like to be able to append this line to the pipe:

    .pipe(environment !== 'production' ? browserSync.reload({stream: true}) : $.util.noop());