server: if a theme is used, attempt to resolve image urls against the theme file's location
This commit is contained in:
parent
47d7e2c82d
commit
5cdb288cbc
3 changed files with 18 additions and 12 deletions
|
|
@ -36,7 +36,7 @@ class Theme {
|
|||
}
|
||||
}
|
||||
|
||||
if (!this.files.length) {
|
||||
if (this.files.length) {
|
||||
|
||||
this.watcher = chokidar.watch(this.files, {awaitWriteFinish: {stabilityThreshold: 200}}).on('change', ()=>{
|
||||
if (!ipc) ipc = require('./server').ipc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue