-
Notifications
You must be signed in to change notification settings - Fork 29
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
2.1.2 does not react to file changes anymore #47
Comments
@simonvizzini If you do esw -v what version does it say? That prints out the eslint version. I don't think eslint is the cause but you never know lol. |
Also can you try saving multiple times and let me know if it picks up the file changes? I have been seeing it not pick up the first save, but after that it continues to lint fine. It also seems to only happen when passing in multiple arguments. Passing in a single directory works as intended. |
esw -v outputs "1.5.1" (just saw that eslint 1.6.0 is out, so I'll give it a try). I tried saving multiple files multiple times, but still no luck. I also just tried to watch just one folder but that doesn't work for me either. I guess this could be a problem in the |
Have you tried using 1.2.5 or 1.2.6 for eslint-watch? I am trying to figure out when this was introduced. Neither really do much. But It all seems to revolve around that keylistener I put in. |
My findings suggest that something in Because if I run I don't have time right now to debug this properly but hopefully this helps narrow down the scope. I also took a quick look at chokidar 1.2.0 but it works as it should with |
@simonvizzini @Cordazar Sorry for the delay in getting this fixed. I have been busy with work and life. I will make an effort this week in getting this resolved. |
@simonvizzini @Cordazar I have a fix out there pending a review. It seems like all the magic that was put into the watcher was unneeded bloat. If you wouldn't mind verifying that the fix works for you, that would be awesome and would help a lot. It's on the branch |
I have released what I had. It should be on version 2.1.3. I had someone test it out and they couldn't reproduce it on their machine. |
Hey @rizowski, so sorry for the late response yet again. As I was getting closer to a deadline, my workload started to increase exponentially :-) But now the dust has almost settled, and I definitely want to keep my node package dependencies up-to-date. I'll update all my node modules in the next couple of days and let you know if everything is okay. Thanks a lot so far and I promise to give feedback asap |
Hey again! So I finally updated my npm packages and I can confirm that the file watcher now works fine on Windows. Thanks! |
@simonvizzini Good to hear! 😄 Thanks for the update. |
Version 1.2.4 worked fine, it was reliably linting files on change. But version 2.1.2 doesn't do anything on file change. I'm on Windows 8.1 x64.
This is my npm script (watching 2 folders):
"watch:eslint": "esw -w ./ChatUI.JavaScript/src/app ./ChatUI.JavaScript/src/sdk",
and here is some output with
DEBUG=esw:*
:Let me know if you need additional information, thanks!
The text was updated successfully, but these errors were encountered: