启动进程
nohup npm run dev >/dev/null 2>&1 & exit
杀进程
通过以下命令找到编号:
netstat -lnpt | grep 8080
然后执行('pid' 替换成查到的编号):
kill -9 pid
nohup npm run dev >/dev/null 2>&1 & exit
通过以下命令找到编号:
netstat -lnpt | grep 8080
然后执行('pid' 替换成查到的编号):
kill -9 pid
本文标题:后台启动 Vuejs 项目 dev 环境
本文链接:https://www.haomeiwen.com/subject/blqthltx.html
网友评论