npm test -- --watch
Category: Node.js & npm/yarn
npm test -- --watch
Run tests and pass --watch to the test runner (e.g., Jest) for continuous re-runs
Runs tests and forwards '--watch' to the test runner (like Jest) which then re-runs tests automatically as you edit files.