Naughty Program Manipulator
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

flow-watch

1.1.3 • Public • Published

flow-watch

A simple file watcher that clears the console and runs flow on each change. Currently tested on OS X -- I don't know if it works on Linux or Windows. Works with flow on your path or flow-bin installed as a peer dependency.

Usage

npm install --save-dev flow-watch

Add a script to your package.json:

{
  "scripts": {
    "flow:watch": "flow-watch"
  }
}

Configuration

flow-watch uses nodemon and accepts any command-line options that nodemon does. If you provide no arguments, it uses the following defaults:

--ignore node_modules/ --watch *.js --watch *.jsx --watch *.js.flow --watch .flowconfig

Keywords

install

npm i flow-watch

Downloadsweekly downloads

5,399

version

1.1.3

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar