Skip to content

Watch Environment Variables on windows #3663

Answered by ghiscoding
mathysd asked this question in Q&A
Discussion options

You must be logged in to vote

It might be missing in the docs but the $ variables are Unix based only and not cross-platform, so a $var can only be read with %var% on Windows, or in your case that would be %LERNA_FILE_CHANGES%, if you want a cross-platform approach you can use cross-env lib

lerna watch -- cross-env-shell echo $LERNA_FILE_CHANGES

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mathysd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants