Document why changes to locally linked hydrogen-view-sdk don't trigger a rebuild

This commit is contained in:
Eric Eastwood 2023-05-30 10:08:00 -05:00
parent ff4c948518
commit f67df1e989
1 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,10 @@ buildClient({
build: { build: {
// Rebuild when we see changes // Rebuild when we see changes
// https://rollupjs.org/guide/en/#watch-options // https://rollupjs.org/guide/en/#watch-options
//
// We currently can't watch for changes in the locally linked `hydrogen-view-sdk`
// because of https://github.com/vitejs/vite/issues/8619 despite what
// https://vitejs.dev/config/server-options.html#server-watch says is possible.
watch: true, watch: true,
}, },
}); });