Meteor-Community-Packages / meteor-mocha

A Mocha test driver package for Meteor 1.3+. This package reports server AND client test results in the server console and can be used for running tests on a CI server or locally.
https://packosphere.com/meteortesting/mocha
MIT License
67 stars 40 forks source link

Feature Request: Support for VSCode Restart Option #95

Open hexsprite opened 4 years ago

hexsprite commented 4 years ago

It would be great to be able to restart the tests using the VSCode UI.

Sometimes I am deep into a debugging session and the test times out for some reason and I just want to restart the tests without making a change to a file for no purpose other than restarting.

image

I did some quick searches as to what mechanism VSCode uses for the restart function but couldn't find much yet.

SimonSimCity commented 4 years ago

Well, if you have the handle to the correct instance, you just need to kill it by a SIGTERM and the system will restart it if you didn't add the option --once to your meteor command.