Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[6.2.7] Stoorybook does not refresh after save #14537

Closed
softshipper opened this issue Apr 9, 2021 · 4 comments
Closed

[6.2.7] Stoorybook does not refresh after save #14537

softshipper opened this issue Apr 9, 2021 · 4 comments

Comments

@softshipper
Copy link

Hi all

I have created a Storybook and after when I change something and save it, the browser does not refresh automatically. So every time I have to press the F5 button.
Unfortunately, I could not figure the problem.
Here are the files:
components.zip

Thank

@softshipper
Copy link
Author

I have figured out that on Firefox hot reload works like a charm. However, on Chromium hot reload does not work at all. I am using https://pop.system76.com/ as OS and Chromium is installed with flatpak.

@softshipper
Copy link
Author

When I start the storybook, in the terminal it shows me:

$ start-storybook -p 6006
info @storybook/react v6.2.7
info 
info => Loading presets
info => Loading 1 config file in "/home/developer/projects/openidea/webapp/components/.storybook"
info => Loading 7 other files in "/home/developer/projects/openidea/webapp/components/.storybook"
info => Adding stories defined in "/home/developer/projects/openidea/webapp/components/.storybook/main.js"
WARN unable to find package.json for @rollup/plugin-node-resolve
WARN unable to find package.json for rollup
info => Using prebuilt manager
info => Using implicit CSS loaders
WARN unable to find package.json for @rollup/plugin-node-resolve
WARN unable to find package.json for rollup
info => Using React fast refresh
info => Using default Webpack4 setup
(node:145138) DeprecationWarning: Default PostCSS plugins are deprecated. When switching to '@storybook/addon-postcss',
you will need to add your own plugins, such as 'postcss-flexbugs-fixes' and 'autoprefixer'.

See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-default-postcss-plugins for details.
(Use `node --trace-deprecation ...` to show where the warning was created)
10% building 6/12 modules 6 active /home/developer/projects/openidea/webapp/components/node_modules/babel-loader/lib/index.js??ref--4-0!/home/developer/projects/openidea/webapp/components/.storybook/generated-stories-entry.jsinfo => Using cached manager
webpack built preview 6002361e38573b1c5351 in 9449ms
╭─────────────────────────────────────────────────────╮
│                                                     │
│   Storybook 6.2.7 started                           │
│   9.74 s for preview                                │
│                                                     │
│    Local:            http://localhost:6006/         │
│    On your network:  http://192.168.178.27:6006/    │
│                                                     │
╰─────────────────────────────────────────────────────╯
webpack building...
webpack built preview 533a9b622317ca763dd0 in 1930ms

@shilman
Copy link
Member

shilman commented Apr 10, 2021

Nothing looks odd about those warnings FWIW

@softshipper
Copy link
Author

I have installed Chromium via https://flatpak.org/. May that is the reason, why it does work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants