permachine 0.9.0 → 0.9.1
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 +14 -0
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -8900,6 +8900,20 @@ async function startWatcher(machineName, options = {}) {
|
|
|
8900
8900
|
logger.info("4. Run: permachine watch");
|
|
8901
8901
|
return () => {};
|
|
8902
8902
|
}
|
|
8903
|
+
if (mergeOperations.length > 0) {
|
|
8904
|
+
const mergeResults = await performAllMerges(mergeOperations);
|
|
8905
|
+
const changedFiles = mergeResults.filter((r) => r.changed).length;
|
|
8906
|
+
if (changedFiles > 0 && !logger.isSilent()) {
|
|
8907
|
+
console.log(`[${formatTime()}] Initial merge: ${changedFiles} file(s) updated`);
|
|
8908
|
+
}
|
|
8909
|
+
}
|
|
8910
|
+
if (directoryOperations.length > 0) {
|
|
8911
|
+
const dirResults = await performAllDirectoryCopies(directoryOperations);
|
|
8912
|
+
const changedDirs = dirResults.filter((r) => r.changed).length;
|
|
8913
|
+
if (changedDirs > 0 && !logger.isSilent()) {
|
|
8914
|
+
console.log(`[${formatTime()}] Initial copy: ${changedDirs} directory(ies) updated`);
|
|
8915
|
+
}
|
|
8916
|
+
}
|
|
8903
8917
|
const state = {
|
|
8904
8918
|
operations: mergeOperations,
|
|
8905
8919
|
directoryOperations,
|