read logs

This commit is contained in:
2021-07-11 18:56:02 -05:00
parent 1e4167d942
commit 61a23df056

View File

@@ -5,6 +5,8 @@
"start": "ts-node .", "start": "ts-node .",
"watchdog": "./run.sh", "watchdog": "./run.sh",
"tmux": "tmux new-session -d -s $npm_package_name \"./run.sh\"", "tmux": "tmux new-session -d -s $npm_package_name \"./run.sh\"",
"resume": "tmux a -t $npm_package_name" "resume": "tmux a -t $npm_package_name",
"log": "tail -f log/$(cat log/number).out",
"logerr": "tail -f log/$(cat log/number).err"
} }
} }