react-webpack-generators / generator-react-webpack

Yeoman generator for ReactJS and Webpack
http://newtriks.com/2013/12/31/automating-react-with-yeoman-and-grunt/
MIT License
2.88k stars 355 forks source link

Watch Flag for Unit Tests #234

Closed JimLynchCodes closed 8 years ago

JimLynchCodes commented 8 years ago

I like to do "dual shell development" that is basically TDD with one shell running tests with a watch flag and one shell running npm start.

It would be nice to have a task for unit tests that watches files: npm test:watch

weblogixx commented 8 years ago

Hi Jim,

this task already exists, even the name is the same. Just use npm run test:watch to use it.

JimLynchCodes commented 8 years ago

ah true. Definitely should be in the docs :)