Skip to content
This repository has been archived by the owner on Apr 16, 2019. It is now read-only.

Enable browserify hot module replacement #30

Closed
wants to merge 2 commits into from
Closed

Conversation

ZauberNerd
Copy link
Member

This enables the browserify plugin 'browserify-hmr' for hot module replacement.
Note: Does not currently work for stateless functional components

gaearon/babel-plugin-react-transform#57
gaearon/react-transform-hmr#6

The transform react-transform-hmr fails if it is included on the server
side, so we need to set an environment variable to include it only when
run through browserify/watchify.
@dmbch
Copy link
Collaborator

dmbch commented Mar 9, 2016

I think since switching to webpack this is rather obsolete. 😞

Thanks anyway!

@dmbch dmbch closed this Mar 9, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants