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

No code reload when using mocha --watch and 0.18.0 #217

Open
rapodaca opened this issue Jan 18, 2019 · 0 comments
Open

No code reload when using mocha --watch and 0.18.0 #217

rapodaca opened this issue Jan 18, 2019 · 0 comments

Comments

@rapodaca
Copy link

rapodaca commented Jan 18, 2019

I'm using Reify with Mocha 5.2.0 to auto-reload as I make changes to my project like so:

node_modules/.bin/mocha -G --recursive --watch --reporter min --require reify

I see expected behavior with Reify 0.17.3. When a module under test changes, Mocha re-runs and produces output that reflects the changes I made to code under test.

I see something different with Reify 0.18.0. When code under test changes, Mocha re-runs but the changes made to the file are not reflected in Mocha's output. A test that starts failing stays failing, regardless of what changes are made to the file.

I see the same behavior whether I clear the .reify-cache directory between a 0.17.3->0.18.0 upgrade or not.

Ideas?

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

No branches or pull requests

1 participant