Storybook behind Proxy: Reload Loop in GitHub Codespaces #26038
Unanswered
LarsHadidi
asked this question in
Help
Replies: 2 comments 1 reply
-
Still a problem with Storybook 8.1.2 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Try this setting (if you are using Vite builder) in your {
//...
async viteFinal(config) {
// Merge custom configuration into the default config
const { mergeConfig } = await import('vite');
return mergeConfig(config, {
server: {
hmr: {
clientPort: process.env.CODESPACES ? 443 : undefined, // <== this is the magic
}
}
});
},
} Related issues: vitejs/vite#5195 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Storybook on SvelteKit in GitHub CodeSpace:
Looks like [Bug]: Hardcoded host for server channel url prevents usage of custom host #20068 that is supposed to be resolved
Additional information
npm create svelte@latest
→ create-svelte version 6.0.8npx storybook init
→ storybook@7.6.15npm run storybook
→ running storybook dev -p 6006 --quietINFINITE LOOP
Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions