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

Auto compile on file change not working #12009

Closed
dev-bjoern opened this issue Jan 31, 2022 · 0 comments
Closed

Auto compile on file change not working #12009

dev-bjoern opened this issue Jan 31, 2022 · 0 comments

Comments

@dev-bjoern
Copy link

After upgrading from CRA 4.0.3 to 5.0.0 the auto compile on file change is not working anymore.

My setup:
I have all my files locally and edit them in Vscode.
On file save, the file is automatically uploaded to the server (FreeBSD 12.3) via sftp plugin
On the server the app is running via normal npm run start command.

Somehow the upload change is not registered on the server. But the remote file content is definitely changed (I can see the changes in vim).
If however I edit the file directly via vim on the server, auto compile works. So it must be something with the sftp upload changing the file differently than changing it directly? Did something in chokidar change?

I already tried setting CHOKIDAR_USEPOLLING to true with no success.

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

No branches or pull requests

1 participant