Search code examples
reactjsbrowserifywebpack

How to hot-reload ReactJS build with gulp and browserify?


I know, hot-reload developed for webpack initially. I don't want to use webpack, because of it's terrible config and bunch of other reasons. The only advantage in webpack is hot-reload for ReactJS.

Is there way to make my browserify + gulp build hot reload react webapp?

Thank you for your time!


Solution

  • You can discover watchify.

    Just wrap your browserify command with watchify:

    watchify(browserify(options))