Skip to content

Commit 9a538bf

Browse files
authored
fix: hot-reloading (#89585)
both the `webpack.config.ts` and the `babel.config.ts` check the `SENTRY_UI_HOT_RELOAD` env variable to enable hot reloading. Without it, it doesn’t work.
1 parent 1f38ed8 commit 9a538bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@
247247
"fix:biome": "biome check . --write",
248248
"fix:prettier": "prettier \"**/*.md\" \"**/*.yaml\" \"**/*.[jt]s(x)?\" --write --log-level=error",
249249
"dev": "(yarn check --verify-tree || yarn install --check-files) && sentry devserver",
250-
"dev-ui": "SENTRY_UI_DEV_ONLY=1 SENTRY_WEBPACK_PROXY_PORT=7999 webpack serve",
250+
"dev-ui": "SENTRY_UI_DEV_ONLY=1 SENTRY_WEBPACK_PROXY_PORT=7999 SENTRY_UI_HOT_RELOAD=1 webpack serve",
251251
"dev-ui-admin": "SENTRY_ADMIN_UI_DEV=1 yarn dev-ui",
252252
"dev-ui-storybook": "STORYBOOK_TYPES=1 yarn dev-ui",
253253
"dev-acceptance": "NO_DEV_SERVER=1 NODE_ENV=development webpack --watch",

0 commit comments

Comments
 (0)