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
No related branches found
No related tags found
No related merge requests found
...@@ -11,5 +11,6 @@ services: ...@@ -11,5 +11,6 @@ services:
- CORS_ALLOWED_HOSTS - CORS_ALLOWED_HOSTS
- WEBPACK_MODE=development - WEBPACK_MODE=development
- HTTP_FOLDER - HTTP_FOLDER
- DEV_PORT
volumes: volumes:
- ./:/opt - ./:/opt
...@@ -12,6 +12,12 @@ module.exports = { ...@@ -12,6 +12,12 @@ module.exports = {
devServer: { devServer: {
hot: true, hot: true,
watchFiles: ['src/**/*'], watchFiles: ['src/**/*'],
client: {
logging: 'verbose',
overlay: true,
progress: true,
webSocketURL: 'ws://0.0.0.0:' + process.env.DEV_PORT + '/ws'
},
static: [ static: [
{ {
directory: path.join(__dirname, 'public'), 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