Merge pull request #1849 from slackday/PR/dynamic-devurl

Check for dynamic env DEVURL before config
This commit is contained in:
Ben Word
2017-03-01 09:11:43 -07:00
committed by GitHub

View File

@@ -15,7 +15,7 @@ module.exports = {
new webpack.HotModuleReplacementPlugin(),
new webpack.NoEmitOnErrorsPlugin(),
new BrowserSyncPlugin({
target: config.devUrl,
target: process.env.DEVURL || config.devUrl,
proxyUrl: config.proxyUrl,
watch: config.watch,
delay: 500,