hyoo_sync_client 0.0.547 → 0.0.549
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node.deps.json +1 -1
- package/node.js +4 -6
- package/node.js.map +1 -1
- package/node.mjs +4 -6
- package/node.test.js +4 -6
- package/node.test.js.map +1 -1
- package/package.json +1 -1
package/node.mjs
CHANGED
|
@@ -3213,11 +3213,8 @@ var $;
|
|
|
3213
3213
|
stabilityThreshold: 100,
|
|
3214
3214
|
},
|
|
3215
3215
|
});
|
|
3216
|
-
watcher
|
|
3217
|
-
|
|
3218
|
-
this.$.$mol_fail_log(path);
|
|
3219
|
-
return;
|
|
3220
|
-
}
|
|
3216
|
+
watcher
|
|
3217
|
+
.on('all', (type, path) => {
|
|
3221
3218
|
const file = $mol_file.relative(path.replace(/\\/g, '/'));
|
|
3222
3219
|
file.reset();
|
|
3223
3220
|
if (type === 'change') {
|
|
@@ -3226,7 +3223,8 @@ var $;
|
|
|
3226
3223
|
else {
|
|
3227
3224
|
file.parent().reset();
|
|
3228
3225
|
}
|
|
3229
|
-
})
|
|
3226
|
+
})
|
|
3227
|
+
.on('error', $mol_fail_log);
|
|
3230
3228
|
return {
|
|
3231
3229
|
destructor() {
|
|
3232
3230
|
watcher.close();
|
package/node.test.js
CHANGED
|
@@ -3204,11 +3204,8 @@ var $;
|
|
|
3204
3204
|
stabilityThreshold: 100,
|
|
3205
3205
|
},
|
|
3206
3206
|
});
|
|
3207
|
-
watcher
|
|
3208
|
-
|
|
3209
|
-
this.$.$mol_fail_log(path);
|
|
3210
|
-
return;
|
|
3211
|
-
}
|
|
3207
|
+
watcher
|
|
3208
|
+
.on('all', (type, path) => {
|
|
3212
3209
|
const file = $mol_file.relative(path.replace(/\\/g, '/'));
|
|
3213
3210
|
file.reset();
|
|
3214
3211
|
if (type === 'change') {
|
|
@@ -3217,7 +3214,8 @@ var $;
|
|
|
3217
3214
|
else {
|
|
3218
3215
|
file.parent().reset();
|
|
3219
3216
|
}
|
|
3220
|
-
})
|
|
3217
|
+
})
|
|
3218
|
+
.on('error', $mol_fail_log);
|
|
3221
3219
|
return {
|
|
3222
3220
|
destructor() {
|
|
3223
3221
|
watcher.close();
|