Compare commits
2 Commits
9ed2b1c192
...
d11df74ecd
| Author | SHA1 | Date | |
|---|---|---|---|
| d11df74ecd | |||
| 7d7b621423 |
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@because/sandlot",
|
"name": "@because/sandlot",
|
||||||
"version": "0.0.3",
|
"version": "0.0.4",
|
||||||
"description": "Sandboxed, branch-based development with Claude",
|
"description": "Sandboxed, branch-based development with Claude",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|
|
||||||
|
|
@ -236,9 +236,9 @@ export async function start(): Promise<void> {
|
||||||
export async function ensure(log?: (msg: string) => void): Promise<void> {
|
export async function ensure(log?: (msg: string) => void): Promise<void> {
|
||||||
requireContainer()
|
requireContainer()
|
||||||
|
|
||||||
// Ensure the container daemon is running
|
// Ensure the container daemon is running (--enable-kernel-install skips interactive prompt)
|
||||||
if (DEBUG) await $`container system start`.nothrow()
|
if (DEBUG) await $`container system start --enable-kernel-install`.nothrow()
|
||||||
else await $`container system start`.nothrow().quiet()
|
else await $`container system start --enable-kernel-install`.nothrow().quiet()
|
||||||
|
|
||||||
const s = await status()
|
const s = await status()
|
||||||
if (s === "running") return
|
if (s === "running") return
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user