Add the webpack-dev-reload snippet automatically to your entry for live-reload.