Skip to content
Snippets Groups Projects
Verified Commit 9f1665bb authored by David Beniamine's avatar David Beniamine
Browse files

Add a bit of config to ease developpement

parent 7a854f52
Branches
No related tags found
No related merge requests found
......@@ -11,5 +11,6 @@ services:
- CORS_ALLOWED_HOSTS
- WEBPACK_MODE=development
- HTTP_FOLDER
- DEV_PORT
volumes:
- ./:/opt
......@@ -12,6 +12,12 @@ module.exports = {
devServer: {
hot: true,
watchFiles: ['src/**/*'],
client: {
logging: 'verbose',
overlay: true,
progress: true,
webSocketURL: 'ws://0.0.0.0:' + process.env.DEV_PORT + '/ws'
},
static: [
{
directory: path.join(__dirname, 'public'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment