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
CPU/Memory usage would remain the consistent between multiple sessions of running 'dev'.
Actual Behavior
On initial run, after creating the project, CPU/Memory usage is as I would expect. Subsequent runs, this increases (in my case 20%+ CPU usage + what appears to be leaking memory).
The issue only presents itself when .react-router exists when running dev, deleting the folder resolves the issue until the next run of dev. I took 2 CPU profiles, one of the initial run and another of the subsequent run, which seems to point to a file watcher.
I'm using React Router as a...
framework
Reproduction
pnpx create-react-router@latest
pnpm dev
(CPU/Memory usage is fine)pnpm dev
, this time CPU/Memory usage will be increased.System Info
Used Package Manager
pnpm
Expected Behavior
CPU/Memory usage would remain the consistent between multiple sessions of running 'dev'.
Actual Behavior
On initial run, after creating the project, CPU/Memory usage is as I would expect. Subsequent runs, this increases (in my case 20%+ CPU usage + what appears to be leaking memory).
The issue only presents itself when
.react-router
exists when runningdev
, deleting the folder resolves the issue until the next run ofdev
. I took 2 CPU profiles, one of the initial run and another of the subsequent run, which seems to point to a file watcher.react-router-0.cpuprofile
react-router-1.cpuprofile
The text was updated successfully, but these errors were encountered: