Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm test-watch ignores *.spec.jsx files #9

Open
FullStackForger opened this issue Oct 24, 2016 · 4 comments
Open

npm test-watch ignores *.spec.jsx files #9

FullStackForger opened this issue Oct 24, 2016 · 4 comments

Comments

@FullStackForger
Copy link
Owner

environment: Windows 10

@FullStackForger FullStackForger added this to the 1.0 milestone Oct 24, 2016
@FullStackForger
Copy link
Owner Author

Might be related to mochajs/mocha issue Mocha --watch #2444

@FullStackForger
Copy link
Owner Author

FullStackForger commented Oct 24, 2016

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

@FullStackForger
Copy link
Owner Author

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.

@FullStackForger
Copy link
Owner Author

FullStackForger commented Oct 25, 2016

paulmillr/chokidar or testem/testem seems like a good alternatives as suggested by:

I have to test if it solves the problem described here:
mochajs/mocha#2444 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant