Merge branch 'main' of https://codeberg.org/bingus_violet/Violets-Limbo
This commit is contained in:
commit
9300eb7543
1 changed files with 2 additions and 0 deletions
2
index.js
2
index.js
|
@ -60,6 +60,8 @@ function pageUpdate() {
|
||||||
fs.writeFileSync(path.join(staticPath, 'index.html'), html)
|
fs.writeFileSync(path.join(staticPath, 'index.html'), html)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pageUpdate()
|
||||||
|
|
||||||
watcher
|
watcher
|
||||||
.on('change', pageUpdate)
|
.on('change', pageUpdate)
|
||||||
.on('add', pageUpdate)
|
.on('add', pageUpdate)
|
||||||
|
|
Loading…
Reference in a new issue