From b57291bc5d3948518004903efd3e9bd4b84511d8 Mon Sep 17 00:00:00 2001 From: Raz Luvaton <16746759+rluvaton@users.noreply.github.com> Date: Wed, 3 Apr 2024 23:56:23 +0100 Subject: [PATCH] watch: fix some node argument not passed to watched process --- test/sequential/test-watch-mode.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sequential/test-watch-mode.mjs b/test/sequential/test-watch-mode.mjs index 320c43ece5bce2..03e7b8d5f940c2 100644 --- a/test/sequential/test-watch-mode.mjs +++ b/test/sequential/test-watch-mode.mjs @@ -460,7 +460,7 @@ console.log(values.random); writeFileSync(path.join(projectDir, 'some.js'), 'console.log(\'hello\')'); - const file = createTmpFile('console.log("running");', '.cjs', projectDir); + const file = createTmpFile('console.log(\'running\');', '.js', projectDir); const watchedFile = createTmpFile('', '.js', dir); const args = [`--watch-path=${dir}`, '--require', './some.js', file]; const { stdout, stderr } = await runWriteSucceed({