Open FullStackForger opened 7 years ago
Might be related to mochajs/mocha issue Mocha --watch #2444
Alternative is watch-run but finding it unreliable on windows so far and it doesn't seem to support terminal colors
watch-run -i -p 'src/**/*' npm test
Looks like the problem is with mocha --watch
it seem to ignore all *.jsx
files
Alternative no. 2 is renaming all [comp].spec.jsx
to [comp].spec.js
but that is not good either.
paulmillr/chokidar or testem/testem seems like a good alternatives as suggested by:
I have to test if it solves the problem described here: https://github.com/mochajs/mocha/issues/2444#issuecomment-255941341
environment: Windows 10