question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Windows 10 non existent folders causes onchange to fail

See original GitHub issue

When running onchange in windows 10 I can get the function to work when I have the app directory: onchange \"app/**/*.js\" -- npm test

However it doesn’t work when I have the app directory but not the test directory: onchange \"app/**/*.js\" \"test/**/*.js\" -- npm test

There seems to be an issue with non existent folders when using onchange on Windows 10.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
blakeembreycommented, Aug 9, 2017
1reaction
blakeembreycommented, Aug 9, 2017

Have you tried single quotes? I don’t use Window personally, but I know there’s some oddities. On another note, I’d just recommend combining them in a glob pattern: {app,test}/**/*.js.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to change "location" of folders
Hi,. In regard with your query, its possible that some part of the hard drive that you are transferring your folder to might...
Read more >
"Access Denied" or other errors when you access or work ...
Cause An "Access Denied" error message can occur for one or more of the following reasons: The folder ownership has changed. You do...
Read more >
the action can't be completed because the folder or a file in ...
This error message seems to be triggered by any application that has navigated to the folder in question, usually with the File -...
Read more >
Troubleshoot Start menu errors - Windows Client
Learn how to troubleshoot common Start menu errors in Windows 10. ... to folders or registry keys can cause issues with Start performance....
Read more >
Operation to change a personal folder location fails in ...
However, after the operation, the two folders' locations are not separated. For more information about how to change the location of a personal...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found