google / google/wireit

Recursive invocations for node --run in Windows are incorrect

Open
#1,168 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
6.4k
Forks
128
Avg merge
4d 10h
Merged PRs (30d)
4

Description

The tests for `node --run` named `run recurse -> run start --watch` and `run recurse -> run start --watch --extra` fail on Windows. It seems to be a similar problem to what Yarn does, where when you do recursive calls, the environment variable that says what script we're in (`NODE_RUN_SCRIPT_NAME` in this case) reflects the first call, instead of the last.

This is very likely a Windows-specific Node bug, so the next step is to confirm it and file an issue. Then we can un-skip those tests in Windows once fixed.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.