-
-
Notifications
You must be signed in to change notification settings - Fork 33k
Closed
Labels
test_runnerIssues and PRs related to the test runner subsystem.Issues and PRs related to the test runner subsystem.watch-modeIssues and PRs related to watch modeIssues and PRs related to watch mode
Description
Version
22.2.0
Platform
Linux Nitro 6.5.0-35-generic #35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 7 09:00:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Subsystem
No response
What steps will reproduce the bug?
in directory create testOne.test.mjs
import {test} from "node:test"
import assert from "node:assert"
test("testOne", () => {
assert.equal(1, 1)
})
cd to directory with testOne, run in terminal
node --watch --test
create a new file name testTwo.test.mjs and add same code
import {test} from "node:test"
import assert from "node:assert"
test("testTwo", () => {
assert.equal(1, 1)
})
save the file and watcher doesn't rerun
How often does it reproduce? Is there a required condition?
Can reproduce consistently locally
What is the expected behavior? Why is that the expected behavior?
expected to pick up new files during watch
What do you see instead?
watch doesn't rerun or pick up new file
Additional information
Not sure if this comes under bug or feature request. Assumption I'm making here is intended behaviour is to watch directory for changes. Happy to give this some effort myself if it is a bug, not a c++ dev though.
Metadata
Metadata
Assignees
Labels
test_runnerIssues and PRs related to the test runner subsystem.Issues and PRs related to the test runner subsystem.watch-modeIssues and PRs related to watch modeIssues and PRs related to watch mode