-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Closed
Labels
p3-minor-bugAn edge case that only affects very specific usage (priority)An edge case that only affects very specific usage (priority)
Description
Describe the bug
If the index.html file is registered as a PostCSS dependency then the browser does not automatically reload when editing the index.html file as expected.
Reproduction
https://github.com/bradlc/vite-index-bug
System Info
Output of npx envinfo --system --npmPackages vite,@vitejs/plugin-vue --binaries --browsers:
System:
OS: macOS 11.2.3
CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 99.15 MB / 32.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 16.0.0 - /var/folders/qw/ffpg9q8n6sgdyqlt84m2pxmr0000gn/T/fnm-shell-6539405/bin/node
Yarn: 1.22.10 - /var/folders/qw/ffpg9q8n6sgdyqlt84m2pxmr0000gn/T/fnm-shell-6539405/bin/yarn
npm: 7.10.0 - /var/folders/qw/ffpg9q8n6sgdyqlt84m2pxmr0000gn/T/fnm-shell-6539405/bin/npm
Browsers:
Chrome: 91.0.4472.77
Chrome Canary: 93.0.4536.0
Firefox: 88.0.1
Safari: 14.0.3
Safari Technology Preview: 14.2
npmPackages:
vite: ^2.3.7 => 2.3.7Used package manager: npm
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
p3-minor-bugAn edge case that only affects very specific usage (priority)An edge case that only affects very specific usage (priority)