karma-runner / karma

Spectacular Test Runner for JavaScript
http://karma-runner.github.io
MIT License
11.96k stars 1.71k forks source link

Karma autoWatch is not working, I'm losing my mind over this. #2053

Open gregordotjs opened 8 years ago

gregordotjs commented 8 years ago

Expected behavior

when I change something in the test file, the tests are ran automatically

Actual behavior

when I change something in the test file, the changes are not visible automatically. I have to open another cmd and execute "karma run" in order to run the tests again.

Enviroment Details

A detailed report is also available here: http://stackoverflow.com/questions/36624752/karma-auto-watch-is-not-working

gregordotjs commented 8 years ago

OK I managed to get it to work by migrating to another location - perhaps the path was too long? Are there any such limitations?

wesleycho commented 7 years ago

It should be noted that you shouldn't install karma globally, just the cli. An installation of karma should be specified with a package.json, along with plugins like the launchers.