mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
minor changes
This commit is contained in:
parent
a77a5d4ecc
commit
660a608e0c
1 changed files with 3 additions and 1 deletions
|
|
@ -29,7 +29,9 @@ exports.watch = function(pFileName){
|
|||
console.log(pFileName + ' is watched');
|
||||
|
||||
if(!FileNames[pFileName]){
|
||||
fs_watch(pFileName, on_fs_watch(pFileName));
|
||||
try{
|
||||
fs_watch(pFileName, on_fs_watch(pFileName));
|
||||
}catch(pError){}
|
||||
|
||||
NamesList_s += pFileName + '\n';
|
||||
FileNames[pFileName] = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue