This extension brings Browsersync support to ColdBox Elixir version 2 and up. Prior to that release, Browsersync was baked in.
npm install coldbox-elixir-browsersync --save-dev
Within your Gulpfile, add:
elixir(function(mix) {
mix.browserSync( {
proxy: 'localhost:12345'
} );
});
Where localhost:12345
is the host and port of your app.
You can add any BrowserSync options in the object passed to mix.browsersync()
(See http://www.browsersync.io/docs/options/)
Project tracking for this project can be found at the Ortus Solutions Jira. Please log all bugs, improvements, and features there.
Pull requests are welcome and encouraged. Please check on the Jira page before starting any large amount of work so your time isn't wasted.
Brad Wood (@bdw429s) has a great guide on submitting pull requests. If you are unsure where to go, in need of help, or have a question, come ask in the #box-products channel on the CFML Slack.