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
The dev vite server with the default configs from your template causes a crash on Windows 10 randomly or reliably whenever a new folder on the root drive C:\ is created.
It's similar to this closed vite issue or this one, although the culprit isn't the settings passed to chokidar in your scripts/prepare.ts script, but rather these rollup watcher options
If I comment them out, then vite dev doesn't crash when I create a folder on my C:\ drive. Not sure why the {} (which is also the default in rollup) leads to the watcher watching over the whole drive and thus causing the crash and whether this is a template config issue or an upstream bug (with vite or rollup?) or something
The text was updated successfully, but these errors were encountered:
The
dev
vite server with the default configs from your template causes a crash on Windows 10 randomly or reliably whenever a new folder on the root driveC:\
is created.It's similar to this closed vite issue or this one, although the culprit isn't the settings passed to
chokidar
in yourscripts/prepare.ts
script, but rather these rollup watcher optionsfrom vite.config.content.ts
If I comment them out, then vite dev doesn't crash when I create a folder on my
C:\
drive. Not sure why the{}
(which is also the default in rollup) leads to the watcher watching over the whole drive and thus causing the crash and whether this is a template config issue or an upstream bug (with vite or rollup?) or somethingThe text was updated successfully, but these errors were encountered: