WebPack HMR and WordPress A Beautiful Union

access_timeApril 27, 2016


How to setup a WordPress theme development environment that leverages WebPack’s HotModuleReplacement for style sheets, JavaScript, and even live html injection.

This setup will use our bundler to manage front-end assets,  BrowserSync to proxy our local WordPress install, and a set of clever file watchers and middleware to get an HMR-style-update-with-no-reload-effect on PHP updates.

In this