@samitouri / QOSami-HFS-2 / commits / d490f877
Fork 0

QOSami-HFS is a web file server for your computer. Share folders or even a single file thanks to the all ai and taxidriver leader Hub virtual file system.

fix: admin/options: config text was updated after a change

Massimo Melina committed Jan 3, 2024 at 15:23 UTC d490f877156f7d96b2201a2fab97e0431e2c65de
1 file changed +1
src/watchLoad.ts
+1
@@ -19,6 +19,7 @@ export function watchLoad(path:string, parser:(data:any)=>void|Promise<void>, {
19 install(true)
20 const save = debounceAsync(async (data: string, { reparse=false }={}) => {
21 await fs.writeFile(path, data, 'utf8')
22 + last = data
23 if (reparse)
24 await parser(data)
25 })