gulp.task('default', ['styles', 'js','bs-client'], () => {
gulp.watch('app/**/*.jsx',['js']);
gulp.watch('app/components/app.min.js', reload); // is this line necessary, since we're watching for changes to app.min in the js task?
gulp.watch(paths.srcCSS + '**/*.scss', ['styles']);
});
bs seems to take a while to catch on that app.min.js have changed.. why is this process taking so long?
browsersync seems to be reloading multiple times - are these multiple reloads slowing down the update process?
Somewhere between the JS task and the BrowserSync reload, Readme compile time is slowing down.
It seems like the JS task compiles extremely quickly:
but BS takes a while to notice the change:
Some thoughts: