yeoman / generator-webapp_DEPRECATED

Yeoman generator that scaffolds out a front-end web app
http://yeoman.io
975 stars 309 forks source link

add browserSync watchOptions.ignored #604

Closed gaboesquivel closed 8 years ago

gaboesquivel commented 9 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

silvenon commented 8 years ago

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.