Socket
Socket
Sign inDemoInstall

mocha-watch

Package Overview
Dependencies
141
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    mocha-watch

better watch for mocha


Version published
Weekly downloads
2
increased by100%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

mocha-watch

better watch for mocha.

Automatically detects all dependencies of your tests and reruns them on change.

Uses require.cache.

Install

npm install -g mocha-watch

Usage

mocha-watch # drop-in replacement for mocha --watch

Exclude a required file from watching

after(() =>
  delete require.cache["full/path/to/file"]
)

## License
Copyright (c) 2017 Paul Pflugradt
Licensed under the MIT license.

Keywords

FAQs

Last updated on 11 Apr 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc