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

Watchify is not detecting changes #381

Open
chrisspen opened this issue Mar 29, 2021 · 3 comments
Open

Watchify is not detecting changes #381

chrisspen opened this issue Mar 29, 2021 · 3 comments

Comments

@chrisspen
Copy link

If I run:

watchify mycode.js -o mybundle.js --verbose

then watchify only detects changes made in the first ~1 minute. Afterwards, no further changes are detected, and it never updates the bundle. I have to kill the process and restart it for it to detect changes again.

I have the most recent version installed via:

sudo npm install watchify -g

Is this behavior normal or is it a bug?

@oleksii-sirochenko
Copy link

Agree with this issue. I experienced the same behavior. It watched only first change and after that no actions. Had to stay on Watchify v3. As soon as I downgrade everything works smoothly.

@chrisspen
Copy link
Author

@alex-sirochenko Good catch. It looks like the problem is specific to version 4.0.0.

3.11.1 is the last version that works correctly for me.

@drschwabe
Copy link

Can confirm (using Ubuntu 22 / Node v18 ). I split test between 4.0.0 and 3.11.1 and having the same issue; with v4 watching works for what seems like the first 3 changes and then silently quits (appears to be still watching until you realize it isn't). v3 works fine.

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

No branches or pull requests

3 participants