noderestarter:在崩溃或编辑时重新启动您的 Node.js 应用程序

时间:2021-06-24 12:26:24
【文件属性】:
文件名称:noderestarter:在崩溃或编辑时重新启动您的 Node.js 应用程序
文件大小:3KB
文件格式:ZIP
更新时间:2021-06-24 12:26:24
JavaScript 节点重启器 在崩溃或编辑时重新启动您的 Node.js 应用程序 ##安装 sudo npm install noderestarter -g 确保添加-g否则它将不起作用。 这使您可以在没有路径的情况下调用 noderestarter。 ##用法 假设您全局安装了它( sudo npm install noderestarter -g ),您可以键入noderestarter + options + 要运行的应用程序文件 + 要发送应用程序的任何参数。 确保您正在运行的应用程序及其参数出现在 noderestarter 选项之后。 noderestarter [restart] [watch] yourapp.js [your app args] ###例子: noderestarter restart watch app.js -debug ###选项: 如果应用程序崩溃
【文件预览】:
noderestarter-master
----noderestarter.js(3KB)
----package.json(696B)
----LICENSE(1KB)
----README.md(925B)

网友评论