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

Only validates once when using a mocha watcher #7

Open
EyMaddis opened this issue Feb 26, 2016 · 0 comments
Open

Only validates once when using a mocha watcher #7

EyMaddis opened this issue Feb 26, 2016 · 0 comments

Comments

@EyMaddis
Copy link

Hi,
great mixin, but I noticed that it does not handle reloads.
I use mocha -w when writing tests. I enabled the debug output for the mixin and have a test to verify it's functionality within our own test suite.
The first time always works, but if the tests re-run (due to file changes) it will not re-apply the mixin. There is also not debug output.
I think mocha uses the caching for npm modules.

Not sure whether this is a loopback issue (mixin loading) or can get solved here.

Notice: I use the model-config.json method for loading the mixin as stated in this issue #4

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