Run mocha auto-test on file save (change)

Mocha runner triggers auto-test not when file is saved but right after any changes is added to file but not saved yet (any key in editor may be pressed and tests will be started). Is it possible somehow  to make auto-test start only when files is really SAVED and CHANGED?

0
2 comments

Please read comments in https://youtrack.jetbrains.com/issue/WEB-10009. In short, the IDE cares itself about files saving, and tests are triggered automatically on file changing.

0
Avatar
Permanently deleted user

I understand what is going on, but IDE behaviour in this case quite strange ->  I just add an empty likn in the editor (i'm not savfing the file) and IDE saves it for me and runs the tests, who needs such scenario? I think it should be fixed.

1

Please sign in to leave a comment.