I am using 'deno' and 'oak'. for auto refreshing I am using 'denon' which is similar to 'nodemon' in nodejs. as a template engine, third party module, I am using - 'denjucks'. Whenever, I do any change in template code and save, server is not restarting automatically. How to solve this issue?
Asked
Active
Viewed 48 times
2 Answers
0
You can use exts
options and add html
.
{
"scripts": { /* */ },
"watcher": {
// The number of milliseconds after the last change.
"interval": 350,
// The file extensions that it will scan for.
"exts": ["js", "ts", "json", "html"],
// The globs that it will scan for.
"match": ["*.*"],
// The globs that it will not scan for.
"skip": ["*/.git/*"],
// Use the legacy file monitoring algorithm. (walking)
"legacy": false
}
}

Marcos Casagrande
- 37,983
- 8
- 84
- 98
-1
Solved the issue. In denon.json file added following -
"watcher": {
"exts": ["js", "ts", "json", "html"]
}
This adds html file in watcher list.

ashok kumar
- 49
- 5
-
Not only I answered first, but that's exactly my answer. You removed the accepted 5 days later to give it to you. – Marcos Casagrande Jun 10 '20 at 08:18