Skip to content

Commit

Permalink
docs(README.md): update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards1211 committed Oct 31, 2019
1 parent 73c65b4 commit 5faddbe
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ if it works on Linux or Windows. Works with `flow` on your path or `flow-bin` i
npm install --save-dev flow-watch
```

Add a script to your `package.json`:
Then run the `flow-watch` command.

```json
{
"scripts": {
"flow:watch": "flow-watch"
}
}
```
`flow-watch` passes known `nodemon` options to `nodemon`, and all other options
to `flow`.

## You may not need this?

`nodemon` [has a documented way to clear the console on restart](https://github.com/remy/nodemon/blob/master/faq.md#how-to-clear-the-console-on-restart), so you may want to use `nodemon`/`flow` directly
in a package script instead of using `flow-watch`.

## Configuration

Expand Down

0 comments on commit 5faddbe

Please sign in to comment.