read logs
This commit is contained in:
@@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user