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