Skip to content
Snippets Groups Projects
Commit 9e02c34a authored by Thomas Roos's avatar Thomas Roos
Browse files

Hell yeah webpack-dev-server and Flask integration! Hot-loading ftw :)

parent 8bc0dc2b
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,23 @@ module.exports = {
plugins: [HtmlWebpackPluginConfig],
devServer: {
hot: true,
proxy: {
'/api': {
target: 'http://localhost:5000'
}
},
historyApiFallback: true,
port: 8881,
publicPath: '/',
host: '0.0.0.0',
overlay: {
warnings: true,
errors: true
},
watchContentBase: true,
watchOptions: {
poll: true
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment