-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why it doesn't work in package.json scripts? #119
Comments
Do you have a reproduction I can use? I pretty much exclusively use this in package.json scripts so I’m not sure the error is in this module. |
@blakeembrey Thanks for your reply, I found it might be because of the single quotes I used 😂 |
Oh interesting, good catch. I don’t use windows often but it’d be because single quotes aren’t a quote character in windows shell. So in Unix the program would be seeing |
I’m less familiar with the windows environment you screenshot compared to what environment shell scripts execute in. If you know feel free to comment and I can try adding the description to the README. Edit: Reference I found online that I could link to. |
Onchange works with this cmd
node .\node_modules\onchange\dist\bin.js -i '**' -- echo '{{event}} to {{file}}''
But why it doesn't work in package.json scripts?
The text was updated successfully, but these errors were encountered: