Created
April 8, 2015 13:30
-
-
Save jordaaash/6475bc2e47d5527165c0 to your computer and use it in GitHub Desktop.
2hot2handle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config.devServer = { | |
contentBase: config.output.path, | |
filename: 'assets/scripts/application.js', | |
host: process.env.HOST, | |
hot: true, | |
inline: true, | |
port: process.env.HOT_PORT, | |
progress: true, | |
publicPath: config.output.publicPath, | |
stats: { colors: true }, | |
proxy: [{ | |
path: /^(?!.*\.hot-update\.js)(.*)$/, | |
target: 'http://' + process.env.HOST + ':' + process.env.PORT + '/' | |
}] | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment