gulp-flow-browser-sync
Browser Sync bundle for gulp-flow.
Requirements
- gulp-flow must be installed.
Install
npm install --save-dev gulp-flow-browser-sync
or
yarn add --dev gulp-flow-browser-sync
Usage
By default this bundle is preconfigured in cfg.browserSync
and add some methods in utils
.
See the source code for more details.
Task
A common use case:
'use strict'; let watched;let gulp = ;let flow = ; // load the browser sync bundle; let cfg gp pipes utils = flow; let browserSync createBrowserSyncInstance initBrowserSyncInstance = utils; //----------------------------------------------------------------------------// flow; /*----------------------------------------------------------------------------*\ Tasks\*----------------------------------------------------------------------------*/ // browser-sync (livereload)gulp; /*----------------------------------------------------------------------------*\ Watch\*----------------------------------------------------------------------------*/ gulp;
And run your tasks: gulp local
LICENSE
MIT (c) 2016, Nicolas Tallefourtane.
Author
Nicolas Talle |