Closed brian-lamb-software-engineer closed 4 years ago
@brian-lamb-software-engineer Hello! If you are using webpack.mix.js
I'll throw a wild guess that you're using Laravel and laravel-mix, right? If so, it comes with Browsersync included; to configure it just call mix.browserSync(configObject);
in your mix file. Where configObject
complies with the standard Browsersync configuration.
@brian-lamb-software-engineer If it works, please go ahead and close this issue as it's not directly related to this package and because the repo owner (@Va1 ) has been mostly inactive the whole year. :grin:
fair fair point @malinushj . gonna be closing this myself. thanks
Keep in mind, per your instructions on npm and here, it wont always be
webpack.config.js
in my case itswebpack.mix.js
. This threw me off, i started looking into if i needed to add the config, or override it, and where it might reside, all along i finally realized it was where i was initiating it in my webpack.mix.jsFor some reason, i had to override the port, node is showing up several times in netstat, i use msys2 (xming or cygwin), thats how i came across this.
Thanks.