Closed gaboesquivel closed 8 years ago
@silvenon we need set browserSync watchOptions.ignored to prevent the js/css reload issues. the problem was browserSync ignores files/folders that start with dot by default ( see https://github.com/BrowserSync/browser-sync/blob/master/lib/file-watcher.js#L15 )
fixes #585, #579 , #603
Thanks so much! I was about to go for the raw browser-sync module solution, but this works just fine :smile: The .css files in the app directory don't get refreshed, thought, but one problem at a time.
.css
app
@silvenon we need set browserSync watchOptions.ignored to prevent the js/css reload issues. the problem was browserSync ignores files/folders that start with dot by default ( see https://github.com/BrowserSync/browser-sync/blob/master/lib/file-watcher.js#L15 )
fixes #585, #579 , #603