@wpdevops/elixir-browsersync

1.0.2 • Public • Published

WpDevOps Elixir Browsersync Support

First ensure, that you're WpDevOps Elixir version is up to date.

Step 1: Install

npm install @wpdevops/elixir-browsersync --save-dev

Step 2: Use It

Within your Gulpfile, add:

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:

elixir(function(mix) {
  mix.browserSync({
    proxy: 'project.app'
  });
});

This package was originally (laravel-elixir-browsersync-official) written by Jeffrey Way

Package Sidebar

Install

npm i @wpdevops/elixir-browsersync

Weekly Downloads

3

Version

1.0.2

License

MIT

Last publish

Collaborators

  • shemi