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

Decorator hook for HMR change #681

Closed
craigmulligan opened this issue Feb 2, 2017 · 2 comments
Closed

Decorator hook for HMR change #681

craigmulligan opened this issue Feb 2, 2017 · 2 comments

Comments

@craigmulligan
Copy link

I know there are issues applying a decorator on HMR change with this (#284), but I have a case where I need to update the context on each HMR change. (rather than wrapping every story myself)

Basically for fela styles to reflect in during HMR you need to find and replace <style> tags on each change. You can see the implementation here: http://fela.js.org/docs/advanced/HotReloading.html

Is there anyway to apply a decorator hook to hmr?

@wcastand
Copy link
Contributor

Hi, did you find a solution for using fela with storybook ?
I'm actually trying to implement both storybook and fela on an app at work and get stucked by this :/

Thanks ;)

@mmintel
Copy link

mmintel commented Aug 28, 2017

Sad you closed this issue without providing your solution, i have the same problem :(

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

No branches or pull requests

3 participants