mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-17 14:08:41 -09:00
parent
af21493e2b
commit
ae70eb1e17
1 changed files with 2 additions and 1 deletions
|
|
@ -39,7 +39,8 @@ const watchers = [];
|
|||
let cfg = {};
|
||||
|
||||
function watch() {
|
||||
gaze(path, function (err) {
|
||||
// watch for changes on config every 2s
|
||||
gaze(path, {interval: 2000}, function (err) {
|
||||
if (err) {
|
||||
throw err;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue