karma-runner / karma-runner/karma
Karma autoWatch is not working, I'm losing my mind over this.
- Dominant language
- JavaScript
- Stars
- 12k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
### 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
- Karma version (output of `karma --version`): 0.13.22
- Relevant part of your `karma.config.js` file: everything is default
### Steps to reproduce the behaviour
1. npm install -g karma karma-cli karma-jasmine karma-chrome-launcher
2. karma init - leave everything default (location is "js/*.js")
3. karma start karma.conf.js
4. make a change in the test file --> nothing happens
5. restart karma in cmd, the changes are visible
A detailed report is also available here: http://stackoverflow.com/questions/36624752/karma-auto-watch-is-not-working
Contributor guide
Research direction
Reproduce the issue with the default karma.conf.js setup, the js/*.js file pattern, and the documented karma start and karma run commands. Verify that changing a test file while Karma is running automatically reruns the tests and that the updated results are visible without restarting the command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100