Launch browser-sync and listen for changes.
yarn add -D broccoli-bs
Give broccoli-bs a list of nodes to watch. When anything changes, broccoli-bs will tell browser-sync to reload the browsers. If the only change is a CSS file, browser-sync will inject the new CSS live!
You may also provide options to the plugin. The
bs option will be
passed on to browser-sync. See browser-sync options.
// Brocfile.jsconst BrowserSync = ;const merge = ;// ...const assets = ;const browserSync = assetsbs:proxy: '' // maybe you have a Phoenix server running?open: false // maybe you don't want browser to open automatically?;moduleexports = ;