WEB Scaffoldtask for browser-sync.
$ npm install --save-dev @webscaffold/task-browser-syncconst browserSync = require('@webscaffold/task-browser-sync');
await browser-sync(options);This will run a browser-sync instance.
The module uses browser-sync internally so for more info on how you can define the paths check the modules options.
TODO: Fix the docs
Returns a Promise for the paths to be removed. It will also log to the console the steps it took to do it.
Type: array
Array of paths to be removed using rimraf options.
Type: object
Options object that can be passed.
Type: string
Default: browser-sync
Task name that will be used by the logger to namespace the logs.
Type: string
Default: #F3FFBD
The color used by the logger to log to the console the task output.
MIT © Radu Micu