Skip to content

Commit

Permalink
Add watch task warning, close #110
Browse files Browse the repository at this point in the history
  • Loading branch information
coaxial committed Oct 18, 2015
1 parent 3ca5413 commit e349184
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ gulp.task('default', function () {
});
```

> If you are writing a watch task to run your tests as you modify your `.js` files, be aware that you might run
into issues. This plugin runs your mocha tests within the same process as your watch task and state isn't reset
between runs. If your tests eventually fail within the watch task but pass when run in a standalone task or with
`mocha test`, then you need to use the [`gulp-spawn-mocha`](https://github.com/KenPowers/gulp-spawn-mocha) plugin.


## API

Expand Down

0 comments on commit e349184

Please sign in to comment.