mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[fix] Live reload
This commit is contained in:
parent
30fe4e7991
commit
c96ed0564d
1 changed files with 6 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
const webpack = require('webpack')
|
||||
const fs = require('fs');
|
||||
|
||||
const dateFnsLocales = [
|
||||
'ar',
|
||||
|
@ -58,6 +59,7 @@ module.exports = {
|
|||
},
|
||||
publicPath: '/yunohost/admin',
|
||||
devServer: {
|
||||
public: fs.readFileSync('/etc/yunohost/current_host', 'utf8'),
|
||||
https: false,
|
||||
disableHostCheck: true,
|
||||
proxy: {
|
||||
|
@ -68,7 +70,9 @@ module.exports = {
|
|||
}
|
||||
},
|
||||
watchOptions: {
|
||||
ignored: /node_modules/
|
||||
}
|
||||
ignored: /node_modules/,
|
||||
aggregateTimeout: 300,
|
||||
poll: 1000
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue