Reputation: 1688
I am having problems with browser-sync. When I first installed, it was working, but now it no longer refreshs my index page when I make modifications to it and save. I noticed that when I start browser-sync, it no longer show the "[BS]Watching files..." message.
Have I missed any steps?
Upvotes: 1
Views: 2847
Reputation: 73
Just add the command "--watch" when using the command line.
Like this:
browser-sync start --server --watch --files "*"
Upvotes: 4
Reputation: 1688
Blisk browser was a great option, as suggested by Darren, but now it is paid. Got browser sync working with gulp as suggested by this discussion https://github.com/BrowserSync/browser-sync/issues/646
Config:
gulp.task('browserSync', function() {
browserSync.init({
open: 'external',
host: 'coolab.dev',
proxy: 'coolab.dev/dashboard',
port: 3000
});
});
Upvotes: 1