i5ting / koa-generator

Koa' application generator for 1.x and 2.x( Express-style and support all middlewares include async/await )
https://github.com/17koa/koa-generator
MIT License
972 stars 110 forks source link

package.json的一点小问题 #46

Closed pecopeco closed 6 years ago

pecopeco commented 7 years ago

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

Chan-Chun commented 7 years ago

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

pecopeco commented 7 years ago

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

Chan-Chun commented 7 years ago

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

i5ting commented 6 years ago

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