You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have this strange issue, when mocha reloads only when I update a "test" file. When I update a project file (SUT) the mocha keeps the original version somehow cached. I tried different approaches and nothing works. Any ideas?
probably because babel gives mocha a transpiled file, and mocha watches the transpiled file instead of the source file. try it with --require babel-register instead of --compilers; if that doesn't help you, you'll need to have some other tool help you do this.
at any rate, #1780 is a thing, and I'd rather not build on top of it in its current state, and instead extract the functionality into a separate module.
I have this strange issue, when mocha reloads only when I update a "test" file. When I update a project file (SUT) the mocha keeps the original version somehow cached. I tried different approaches and nothing works. Any ideas?
Here is how I run it:
The text was updated successfully, but these errors were encountered: