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

This commit is contained in:
Eric Eastwood 2023-05-30 10:34:35 -05:00 committed by GitHub
parent ff4c948518
commit 4797f1e46a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,10 @@ buildClient({
build: {
// Rebuild when we see changes
// 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,
},
});