Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

package.json的一点小问题 #46

Closed
pecopeco opened this issue Aug 21, 2017 · 4 comments
Closed

package.json的一点小问题 #46

pecopeco opened this issue Aug 21, 2017 · 4 comments

Comments

@pecopeco
Copy link

"start": "node bin/www"应是 "start": "nodemon bin/www"吧?

@Chan-Chun
Copy link

没有关系啊。就node直接起服务也可以啊

@pecopeco
Copy link
Author

pecopeco commented Aug 21, 2017

@Chan-Chun node直接起服务代码变化没有自动重启

@Chan-Chun
Copy link

@pecopeco 是啊 nodemon就有一个自动重启的服务,node 使用原生的所以没有。package.json自己增加script就好了嘛。想用什么都行 nodemon也可以 pm2也可以。

@i5ting
Copy link
Owner

i5ting commented Aug 31, 2017

这个还是自己改吧,如果你全局没有nodemon,程序就没法跑起来了,感谢 @Chan-Chun

@i5ting i5ting closed this as completed Aug 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants