-
-
Notifications
You must be signed in to change notification settings - Fork 543
Open
Description
I'm running ibazel run :vite
in frontend/vue
. If I edit a file, the page is hot-reloaded:
iBazel [7:13PM]: Changed: "/bazel-examples/frontend/vue/src/views/AboutView.vue". Rebuilding...
iBazel [7:13PM]: Running :vite
iBazel [7:13PM]: Notifying of changes
INFO: Analyzed target //vue:vite (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
Target //vue:vite up-to-date:
bazel-bin/vue/vite_/vite
INFO: Elapsed time: 0.131s, Critical Path: 0.01s
INFO: 2 processes: 1 internal, 1 local.
INFO: Build completed successfully, 2 total actions
iBazel [7:13PM]: IBAZEL BUILD SUCCESS
7:13:32 PM [vite] hmr update /src/views/AboutView.vue
hmr update /src/views/AboutView.vue?vue&type=style&index=0&lang.css
If I edit the same file again, the change is not picked up by Vite:
iBazel [7:14PM]: Changed: "/bazel-examples/frontend/vue/src/views/AboutView.vue". Rebuilding...
iBazel [7:14PM]: Running :vite
iBazel [7:14PM]: Notifying of changes
INFO: Analyzed target //vue:vite (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
Target //vue:vite up-to-date:
bazel-bin/vue/vite_/vite
INFO: Elapsed time: 0.125s, Critical Path: 0.00s
INFO: 2 processes: 1 internal, 1 local.
INFO: Build completed successfully, 2 total actions
iBazel [7:14PM]: IBAZEL BUILD SUCCESS
Manually reloading the page also does not work.
Editing a different file works, but again only for the first time:
iBazel [2:19PM]: Changed: "/bazel-examples/frontend/vue/src/views/HomeView.vue". Rebuilding...
iBazel [2:19PM]: Running :vite
iBazel [2:19PM]: Notifying of changes
INFO: Analyzed target //vue:vite (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
Target //vue:vite up-to-date:
bazel-bin/vue/vite_/vite
INFO: Elapsed time: 0.110s, Critical Path: 0.01s
INFO: 2 processes: 1 internal, 1 local.
INFO: Build completed successfully, 2 total actions
iBazel [2:19PM]: IBAZEL BUILD SUCCESS
2:19:47 PM [vite] hmr update /src/views/HomeView.vue
iBazel [2:20PM]: Changed: "/bazel-examples/frontend/vue/src/views/HomeView.vue". Rebuilding...
iBazel [2:20PM]: Running :vite
iBazel [2:20PM]: Notifying of changes
INFO: Analyzed target //vue:vite (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
Target //vue:vite up-to-date:
bazel-bin/vue/vite_/vite
INFO: Elapsed time: 0.106s, Critical Path: 0.00s
INFO: 2 processes: 1 internal, 1 local.
INFO: Build completed successfully, 2 total actions
iBazel [2:20PM]: IBAZEL BUILD SUCCESS
cc @alexeagle (because of #523)
Metadata
Metadata
Assignees
Labels
No labels