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
I tried running the basic create-react-app out of the box using the serve -s command, got the pid from ps -ef, ran lsof |grep pid|wc -l after each request, and I noticed how the number kept going up, like the cache was not kicking in, the app seemed to be opening the same files over and over again without closing. If I start the server in "development" mode with npm run start:dev I don't experience this issue, the cache seem to kicks in properly and the open file count is not going up.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I tried running the basic create-react-app out of the box using the serve -s command, got the pid from ps -ef, ran lsof |grep pid|wc -l after each request, and I noticed how the number kept going up, like the cache was not kicking in, the app seemed to be opening the same files over and over again without closing. If I start the server in "development" mode with npm run start:dev I don't experience this issue, the cache seem to kicks in properly and the open file count is not going up.
Beta Was this translation helpful? Give feedback.
All reactions