main
John Lauer Publish 1.0.0 2faf052 1mo ago
#!/bin/sh
set -e
BIN="$HOME/.local/bin"
mkdir -p "$BIN"
# Symlink back into the module dir so edits propagate and a reinstall does not
# clobber a running instance.
chmod +x "$PWD/app/cli.js"
ln -sfn "$PWD/app/cli.js" "$BIN/svcwatch"
echo "OK: svcwatch installed to $BIN/svcwatch"
echo "Hint: start it with \`svcwatch serve\`, or open the tab with \`svcwatch show\`"