BrowserSync config

browsersync

#1

Hi,
I would like to use browserSync but i don’t find a good configuration.
Someone can explain me how to use browserync with cloud 9 ide ?
this is my actual configuration :
https: true, server: { baseDir: './public' }, port: process.env.PORT, host: process.env.IP


#2

Hi,

I’m not quite sure about the settings required by BrowserSync, but if you’re running your app on 8080 (process.env.PORT), you need to make Browsersync run on port 8081 or 8082.

We have an example demonstrating multiple port usage with grunt and livereload below:

I hope this helps.

Regards,
​Mutahhir