Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved watching with chokidar #3980

Merged
merged 2 commits into from Sep 9, 2019

Commits on Sep 5, 2019

  1. Improved watching with chokidar

    This change improves the file watching behavior and fixes mochajs#3912.
    
    * We introduce the `--watch-files` command line option. This option
      allows control over which files are and is separate and more powerful
      than `--extension`. Fixes mochajs#2702.
    * We introduce the `--watch-ignore` command line option that allows
      control over which files are not watched. Before this was hardcoded to
      `node_modules` and `.git`. See mochajs#2554.
    * The `chokidar` package now handles file watching. (We’re using version
      `2.1.6` instead of `3.x` because the latter dropped support for Node
      v6.)
    * New test files are picked up by the file watcher and run. Fixes mochajs#2176.
    Thomas Scholtes committed Sep 5, 2019
    Copy the full SHA
    5d746bb View commit details
    Browse the repository at this point in the history
  2. Watch hidden files based on extension

    Thomas Scholtes committed Sep 5, 2019
    Copy the full SHA
    0e2ee09 View commit details
    Browse the repository at this point in the history