This commit is contained in:
Bingus_Violet 2024-03-03 16:17:17 -06:00
commit 9300eb7543

View file

@ -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)