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

Problem using mocha watch with Mongoose #747

Closed
stereobooster opened this issue Feb 12, 2013 · 2 comments
Closed

Problem using mocha watch with Mongoose #747

stereobooster opened this issue Feb 12, 2013 · 2 comments

Comments

@stereobooster
Copy link

Getting this error

Error parsing instrumented code: OverwriteModelError: Cannot overwrite `User` model once compiled.
@tj
Copy link
Contributor

tj commented Feb 12, 2013

watch mode busts the require cache, so if a module relies on that state it wont work well, nothing we can do there

@tj tj closed this as completed Feb 12, 2013
@stereobooster
Copy link
Author

related to Automattic/mongoose#1251

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

2 participants