You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[v4.0.1] Environment variable CHOKIDAR_USEPOLLING only works without the "REACT_APP_" prefix #10197
The environment variable CHOKIDAR_USEPOLLING is ignored in .env* files when using the REACT_APP_ prefix.
When using it without REACT_APP_, it is working fine.
I have a development setup inside a Docker container (Debian) with VS Code, so for Webpack to pick up changes, I need to use CHOKIDAR_USEPOLLING=true. Without that environment variable, changes in the code are ignored by Webpack.
What works:
in package.json: { ... "start": "CHOKIDAR_USEPOLLING=true react-scripts start" ... }
in any dotenv file (like .env.development): CHOKIDAR_USEPOLLING=true
What does not work:
in any dotenv file (like .env.development): REACT_APP_CHOKIDAR_USEPOLLING=true
changed the title [-][v4.0.1] Environment variable CHOKIDAR_USEPOLLING only works when omitting "REACT_APP_"[/-][+][v4.0.1] Environment variable CHOKIDAR_USEPOLLING only works without the "REACT_APP_" prefix[/+]on Dec 4, 2020
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.
Activity
[-][v4.0.1] Environment variable CHOKIDAR_USEPOLLING only works when omitting "REACT_APP_"[/-][+][v4.0.1] Environment variable CHOKIDAR_USEPOLLING only works without the "REACT_APP_" prefix[/+]PrajjwalDatir commentedon Dec 19, 2020
Future readers,
For WSL 2 : ReactJS not reloading/ picking up changes after saved.
refer to #10253
rahilarora07 commentedon Jun 22, 2021
'CHOKIDAR_USEPOLLING' is not recognized as an internal or external command,
operable program or batch file.
It is showing this, what to do
PrajjwalDatir commentedon Jun 22, 2021
https://nerdschalk.com/how-to-fix-is-not-recognized-as-an-internal-or-external-command-operable-program-or-batch-file-error/ Try this probably
stale commentedon Jan 9, 2022
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.