@arkhera30/cli 0.3.0 → 0.3.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/index.js +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1665,7 +1665,8 @@ var upCommand = new Command3("up").description("Start the Horus stack").option("
|
|
|
1665
1665
|
console.log("");
|
|
1666
1666
|
console.log(chalk3.bold("Starting Horus services..."));
|
|
1667
1667
|
try {
|
|
1668
|
-
|
|
1668
|
+
const upArgs = opts.pull ? ["up", "-d", "--force-recreate"] : ["up", "-d"];
|
|
1669
|
+
await composeStreaming(runtime, upArgs);
|
|
1669
1670
|
} catch (error) {
|
|
1670
1671
|
console.log(chalk3.red("Failed to start services."));
|
|
1671
1672
|
console.log(chalk3.dim(error.message));
|
|
@@ -2142,7 +2143,7 @@ var updateCommand = new Command7("update").description("Update Horus to the late
|
|
|
2142
2143
|
console.log("");
|
|
2143
2144
|
console.log(chalk7.bold("Restarting services..."));
|
|
2144
2145
|
try {
|
|
2145
|
-
await composeStreaming(runtime, ["up", "-d"]);
|
|
2146
|
+
await composeStreaming(runtime, ["up", "-d", "--force-recreate"]);
|
|
2146
2147
|
} catch (error) {
|
|
2147
2148
|
console.log(chalk7.red("Failed to restart services."));
|
|
2148
2149
|
console.log(chalk7.dim(error.message));
|