Skip to content

Commit ad3b7ef

Browse files
authored
Merge pull request #7 from pocketenv-io/feat/logs-after-up
feat: always display logs after pocketenv up
2 parents 5202600 + 0458987 commit ad3b7ef

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ jobs:
2424
run: |
2525
deno run -A --unstable-kv main.ts init -t tsirysndr/base-workspace
2626
deno run -A --unstable-kv main.ts up
27-
deno run -A --unstable-kv main.ts logs
2827
docker ps
2928
- name: Destroy
3029
run: |

src/cmd/up.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { existsSync } from "node:fs";
33
import { POCKETENV_CACHE_DIR } from "../consts.ts";
44
import { spawn } from "../lib.ts";
55
import * as workspaces from "../workspaces.ts";
6+
import showLogs from "./logs.ts";
67

78
async function up(
89
{
@@ -70,6 +71,7 @@ async function up(
7071
createdAt: result?.createdAt || new Date().toISOString(),
7172
updatedAt: new Date().toISOString(),
7273
});
74+
await showLogs({ follow: false });
7375
}
7476

7577
export default up;

0 commit comments

Comments
 (0)