Spaces:
Running
Running
Commit
·
6244632
1
Parent(s):
2b24a67
disabling watcher to understand the source of the server crash
Browse files- hf_server.js +3 -1
hf_server.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* All rights reserved.
|
4 |
*/
|
5 |
//@ts-check
|
6 |
-
const VERSION = '0.6.0.hf.014.
|
7 |
|
8 |
const express = require('express');
|
9 |
const http = require('http');
|
@@ -456,6 +456,7 @@ async function main(app)
|
|
456 |
ignored: /[\/\\]\./,
|
457 |
persistent: true
|
458 |
});
|
|
|
459 |
watcher
|
460 |
.on('add', function(path) {
|
461 |
const targetFile = path.replace(sourceDir, targetDir);
|
@@ -478,6 +479,7 @@ async function main(app)
|
|
478 |
console.log('File', path, 'has been removed');
|
479 |
});
|
480 |
});
|
|
|
481 |
}
|
482 |
|
483 |
await checkOmnitoolStatus();
|
|
|
3 |
* All rights reserved.
|
4 |
*/
|
5 |
//@ts-check
|
6 |
+
const VERSION = '0.6.0.hf.014.c';
|
7 |
|
8 |
const express = require('express');
|
9 |
const http = require('http');
|
|
|
456 |
ignored: /[\/\\]\./,
|
457 |
persistent: true
|
458 |
});
|
459 |
+
/*
|
460 |
watcher
|
461 |
.on('add', function(path) {
|
462 |
const targetFile = path.replace(sourceDir, targetDir);
|
|
|
479 |
console.log('File', path, 'has been removed');
|
480 |
});
|
481 |
});
|
482 |
+
*/
|
483 |
}
|
484 |
|
485 |
await checkOmnitoolStatus();
|