Skip to content
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

New watcher doesn't recognize first change to a file #703

Closed
gaearon opened this issue Jan 20, 2015 · 5 comments
Closed

New watcher doesn't recognize first change to a file #703

gaearon opened this issue Jan 20, 2015 · 5 comments
Labels

Comments

@gaearon
Copy link
Contributor

gaearon commented Jan 20, 2015

I have this issue on OS X Yosemite.
First time I save any file, watcher doesn't notice. Subsequent saves work.

It doesn't happen with 1.4.15 + NewWatchingPlugin but happens with 1.5.1.

@kentcdodds
Copy link
Member

👍 I also have this issue. For now, when I start working in a file, I'm just adding a comment, saving, and removing the comment. Lame workflow, but it'll work for now :-)

@kentcdodds
Copy link
Member

There's a repo to try to reproduce the issue, in case anyone's interested.

@kentcdodds
Copy link
Member

Anyone wanting a temporary fix to this issue, simply go to your copy of watchpack and npm install master of chokidar which has the fix. A 1.0.0 release of chokidar is coming soon @es128 says.

cd node_modules/webpack/node_modules/watchpack/
npm i paulmiller/chokidar

This fixed the issue for me and webpack is flying like the wind :-)

gaearon added a commit to gaearon/flux-react-router-example that referenced this issue Jan 20, 2015
@sokra sokra closed this as completed Jan 21, 2015
@sokra
Copy link
Member

sokra commented Jan 21, 2015

@AndrewRayCode
Copy link

I'm seeing this both with webpack 1.5.3 and 1.7.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants