0.0.2 • Published 7 years ago

easy-flow v0.0.2

Weekly downloads
6
License
MIT
Repository
github
Last release
7 years ago

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']);
});