auto-save 2026-05-17 13:18 (~5)

This commit is contained in:
2026-05-17 13:18:29 +08:00
parent 253e82a322
commit f2742df3c6
5 changed files with 18 additions and 18 deletions

View File

@@ -8,7 +8,7 @@
<array>
<string>/bin/zsh</string>
<string>-lc</string>
<string>cd /Users/kangwan/Projects/business/20260512-20260512-skg-tk-二创验证/web &amp;&amp; exec pnpm dev</string>
<string>cd /Users/kangwan/Projects/business/20260512-20260512-skg-tk-二创验证/web &amp;&amp; exec npm run dev</string>
</array>
<key>WorkingDirectory</key>
<string>/Users/kangwan/Projects/business/20260512-20260512-skg-tk-二创验证/web</string>

View File

@@ -38,8 +38,8 @@ start_web() {
echo "web already running on 4290"
return
fi
if ! command -v pnpm >/dev/null 2>&1; then
echo "missing pnpm in PATH" >&2
if ! command -v npm >/dev/null 2>&1; then
echo "missing npm in PATH" >&2
exit 1
fi
launchctl bootout "$LAUNCHD_DOMAIN/$WEB_LABEL" >/dev/null 2>&1 || true