Friday, 23 August 2013

How do I get Yeoman to continuously run tests

How do I get Yeoman to continuously run tests

When I run grunt server, my file edits are picked up and the browser
refreshed through livereload. When I run grunt test, it runs once and
shuts down.
This behavior can be simulated by running
yo angular --minsafe mytest
grunt test
When I change karma.unit.singlerun = false in the Gruntfile, grunt test
now says that a watcher is running, but no file changes seem to trigger
running the tests again.
How do I get the reload capability with the tests similar to the way
linemanjs works?

No comments:

Post a Comment