craigward's avatar

browserSync not working on static site.

I am building a static html page for someone and using Laravel mix to compile the JS and SCSS. I was hoping to use browserSync as I do in my Laravel projects but for some reason its not firing up?

Normally when I run npm run watch a new browser tab opens with xxxxxx.dev:3000 as the url. Even if I manually specify the port its not working.

Do you have to do something different for static websites?

0 likes
1 reply

Please or to participate in this conversation.