easy-flow
v0.0.2
Published
Easily use flow as part of watch tasks
Downloads
3
Readme
Easy Flow
Easy Flow allows you to simply integrate Facebook's Flow with your task runners (like Gulp).
Install
npm install easy-flow
Sample task
var flow = require('easy-flow');
gulp.task('build', function (cb) {
flow.check(cb); // passing the callback for gulp isn't necessary, but makes the output prettier
});
// or a watch task, which will utilize the Flow server
gulp.task('flow', function (cb) {
flow.check(cb)
});
gulp.task('watch', function () {
flow.watch();
gulp.watch('./src/file.js', ['flow']);
});