From f67df1e989f642846c59349c3784125f0d1fad0d Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Tue, 30 May 2023 10:08:00 -0500 Subject: [PATCH] Document why changes to locally linked hydrogen-view-sdk don't trigger a rebuild --- server/start-dev.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/start-dev.js b/server/start-dev.js index a43053c..580eeed 100644 --- a/server/start-dev.js +++ b/server/start-dev.js @@ -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, }, });