question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

support for `--watch`

See original GitHub issue

The mocha option --watch currently doesn’t seem to do anything. Could that be added? Besides that this is really great!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
kontrollantencommented, Jul 6, 2018

It’s been some years since this was closed. I think it can be worth a new discussion whether this should be included in electron-mocha. mocha decided to keep watch since it’s widely used and appreciated by the community.

How much would it take to implement this functionality in electron-mocha? If it’s wanted I may put some time in doing a PoC for this.

2reactions
mweststratecommented, Sep 7, 2016

I did a quick investigation, it seems that watch is not handled by the mocha library itself, but by the CLI tool around it see, instead of here. (surprisingly this also holds for features like compilers). This makes it impossible to cleanly reuse the functionality, so it makes sense to me that you don’t want to support this scenario as it would indeed introduce additional maintenance.

Will search for another, less optimal, solution

Read more comments on GitHub >

github_iconTop Results From Across the Web

Apple Watch Support
Learn how to set up and use your Apple Watch. Find all the topics, resources, and contact options you need for Apple Watch....
Read more >
Service & Support - CITIZEN WATCH Global Network
Service & SupportCITIZEN WATCH Global portal site.
Read more >
Apple Watch Series 7 - Support Overview - Verizon
Find all Watch Series 7 Support information here. Learn how to activate, set up features & troubleshoot issues with our FAQs, how-to guides...
Read more >
Contact Us - Google Pixel Watch Help
Google Pixel Watch Help · Sign in. Send feedback on... This help content & information. General Help Center experience. Next. Help Center ·...
Read more >
Get Apple Watch Support - AT&T Wireless Customer Support
Apple Watch bands are available in a variety of styles and sizes. First, choose a case size and band style to see which...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found