theme: autoreload got lost during migration
This commit is contained in:
parent
02465d9cdf
commit
36c2f90ec1
1 changed files with 5 additions and 0 deletions
|
|
@ -48,6 +48,11 @@ class WebServer extends EventEmitter {
|
|||
|
||||
this.ipcServer = ipcServer
|
||||
|
||||
|
||||
theme.on('update', ()=>{
|
||||
ipcServer.send('reloadCss')
|
||||
})
|
||||
|
||||
this.server.listen(settings.read('port') || 8080)
|
||||
|
||||
var proto = settings.read('use-ssl') ? https : http
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue