@anvil-works/anvil-cli 0.3.9 → 0.3.10
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/dist/cli.js +5 -1
- package/dist/index.js +5 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -47897,7 +47897,11 @@ var __webpack_exports__ = {};
|
|
|
47897
47897
|
this.hasPendingChanges = true;
|
|
47898
47898
|
if (this.debounceTimer) clearTimeout(this.debounceTimer);
|
|
47899
47899
|
if (isFirstChange) logger_logger.progress("sync", "Change detected");
|
|
47900
|
-
this.debounceTimer = setTimeout(()=>
|
|
47900
|
+
this.debounceTimer = setTimeout(()=>{
|
|
47901
|
+
this.processSaveBatchWithEvents().catch((error)=>{
|
|
47902
|
+
logger_logger.error(`Save failed: ${errors_getErrorMessage(error)}`);
|
|
47903
|
+
});
|
|
47904
|
+
}, this.SAVE_DEBOUNCE_MS);
|
|
47901
47905
|
}
|
|
47902
47906
|
async forceSave() {
|
|
47903
47907
|
if (this.debounceTimer) {
|
package/dist/index.js
CHANGED
|
@@ -23495,7 +23495,11 @@ var __webpack_exports__ = {};
|
|
|
23495
23495
|
this.hasPendingChanges = true;
|
|
23496
23496
|
if (this.debounceTimer) clearTimeout(this.debounceTimer);
|
|
23497
23497
|
if (isFirstChange) logger_logger.progress("sync", "Change detected");
|
|
23498
|
-
this.debounceTimer = setTimeout(()=>
|
|
23498
|
+
this.debounceTimer = setTimeout(()=>{
|
|
23499
|
+
this.processSaveBatchWithEvents().catch((error)=>{
|
|
23500
|
+
logger_logger.error(`Save failed: ${errors_getErrorMessage(error)}`);
|
|
23501
|
+
});
|
|
23502
|
+
}, this.SAVE_DEBOUNCE_MS);
|
|
23499
23503
|
}
|
|
23500
23504
|
async forceSave() {
|
|
23501
23505
|
if (this.debounceTimer) {
|