WpDevOps Elixir Browsersync integration.
npm install @wpdevops/elixir-browsersyncbash
npm install @wpdevops/elixir-browsersync --save-dev
`
Step 2: Use It
Within your Gulpfile, add:
`js
elixir(function(mix) {
mix.browserSync();
});
`
Once you run gulp watch, access your web application using port 3000 to enable browser syncing: http://wpdevops.dev:3000.
If you're using a domain other than wpdevops.dev for local development (likely), you may pass an array of options as the first argument to the browserSync method:
`js
elixir(function(mix) {
mix.browserSync({
proxy: 'project.app'
});
});
``