Closed dereekb closed 9 months ago
Does yarn test --watch
not give you a suitable experience?
It doesn't detect changes that I'm making. I fought for a bit with mocha settings and other arguments but it wasn't working for me. I searched around a bit for a remedy using mocha alone and found suggestions for nodemon.
When I run it gets stuck on the following:
[mocha] waiting for changes...
Running macOS 12.2
I plan on converting the mocha tests to jest in 3.0, so we'll get --watch
for free
Added "test-watch" as a script using nodemon so tests are rerun automatically when a change is made in the
test
orsrc
folders and any child folders.