Skip to content

scottohara/karma-restartonfilechange-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reproduction of a possible bug in karma-runner/karma with restartOnFileChange: true.

(See previous occurrence of a similar bug back in 2015)

Steps to reproduce:

  1. Clone this repo (git clone https://github.com/scottohara/karma-restartonfilechange-bug)
  2. Change into directory (cd karma-restartonfilechange-bug)
  3. Install npm dependencies (npm install)
  4. Start karma (karma start)
  5. Open the test.js file, and repeatedly hit save. Note that the test successfully re-runs on each save.
  6. Stop karma (CTRL-C)
  7. Edit karma.conf.js and set restartOnFileChange: true
  8. Start karma (karma start)
  9. Open the test.js file, and repeatedly hit save. Note that the test does not re-run on each save.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published