让egg的npm run dev运行在后台 用户8379016831705 2023-05-07 129 阅读1分钟 执行命令 $ nohup npm run dev >/dev/null 2>&1 & exit 通过lsof查询pid号 $ lsof -i:7001 将后台程序关掉 $ kill pid号