Preserve INIT_CWD environment variable
dobesv opened this issue · comments
Dobes Vandermeer commented
Yarn FAQ suggests a way to share scripts between workspaces in a monorepo. If we use this technique with npm-run-all
, however, the INIT_CWD
environment variable is replaced with the path to the workspace that the script is defined in.
It would be handy if npm-run-all
would propagate the INIT_CWD
environment variable to the child script(s) that it runs.