generate on start

This commit is contained in:
Bingus_Violet 2024-02-08 14:34:16 +00:00
parent 3c6270f83d
commit de9ba56a36

View file

@ -59,6 +59,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)