Closed jcc1997 closed 11 months ago
Interesting, thanks for the report. For me, its not "stuck", but it does report files in the "dist" directory as changed when those aren't relevant to reloading the extension in dev mode. Should just need to ignore file changes in the output directory with Vite 5.
src/content-script.ts changed, restarting browser
build started...
✓ 0 modules transformed.
dist/src/content-script.js 0.23 kB │ gzip: 0.19 kB
built in 5ms.
Last extension reload: 23:21:43 GMT-0600 (Central Standard Time)
dist/icon/128.png changed, restarting browser
dist/icon/16.png changed, restarting browser
dist/icon/32.png changed, restarting browser
dist/icon/48.png changed, restarting browser
dist/icon/96.png changed, restarting browser
dist/icon-with-shadow.svg changed, restarting browser
dist/src/content-script.js changed, restarting browser
Summary
stuck in "restarting browser" after content-script changed
Reproduction
reproduction repo
Environment