bugemberhelp wanted
Repository metrics
- Stars
- (89,909 stars)
- PR merge metrics
- (Avg merge 7d 22h) (184 merged PRs in 30d)
Description
Describe the bug
The way to use ember with storybook is starting the ember app, which starts its own server and serves its dist folder. That ember server also has its livereload to push changes. Using the dist actually makes use of that livereload mechanics.
However, with storybook's config, you use the staticDirs:
import type { StorybookConfig } from '@storybook/ember';
const config: StorybookConfig = {
// ...
staticDirs: ['../dist'],
};
export default config;
It looks like, this is very static - I currently receive no auto updates.
I consider this to be a more tracking issue, to share this in the ember discord, when things pop up and to gain knowledge within this ticket.
To Reproduce
Setup:
ember new
npx storybook@next init
- Create a component + story
- Start the ember server
- Start storybook
- Navigate to the story
- Change the component
Expected Behavior: See the change in storybook
System
Storybook Environment Info:
System:
OS: macOS 14.1
CPU: (11) arm64 Apple M3 Pro
Shell: 3.6.4 - /opt/homebrew/bin/fish
Binaries:
Node: 20.11.0 - ~/.volta/tools/image/node/20.11.0/bin/node
Yarn: 1.22.21 - ~/.volta/tools/image/yarn/1.22.21/bin/yarn
npm: 10.2.4 - ~/.volta/tools/image/node/20.11.0/bin/npm
pnpm: 8.14.3 - ~/.volta/tools/image/pnpm/8.14.3/bin/pnpm <----- active
Browsers:
Chrome: 121.0.6167.139
Edge: 120.0.2210.144
Safari: 17.1
npmPackages:
@storybook/addon-essentials: 8.0.0-beta.0 => 8.0.0-beta.0
@storybook/addon-links: 8.0.0-beta.0 => 8.0.0-beta.0
@storybook/blocks: 8.0.0-beta.0 => 8.0.0-beta.0
@storybook/ember: 8.0.0-beta.0 => 8.0.0-beta.0
@storybook/ember-cli-storybook: ^0.6.1 => 0.6.1
@storybook/test: 8.0.0-beta.0 => 8.0.0-beta.0
eslint-plugin-storybook: ^0.6.15 => 0.6.15
storybook: 8.0.0-beta.0 => 8.0.0-beta.0
Additional context
No response