如果系统被设置了 “NODE_ENV=production” 环境变量，那么npm install 将不会安装dev依赖。

----

@fengmk2 (https://twitter.com/fengmk2)
@Python发烧友 (http://weibo.com/imk2/profile)
http://fengmk2.github.com (http://fengmk2.github.com/)

---------------------------
*记得当时年纪小/
你爱谈天，我爱笑/
有一回并肩坐在桃树下/
风在林梢鸟儿在叫/
我们不知怎样睡着了/
梦里花落知多少*


On Tuesday, May 21, 2013 at 2:56 PM, Jackson Tian wrote:

> In Makefile:
> > @@ -3,7 +3,10 @@ REPORTER = spec > TIMEOUT = 10000 > MOCHA_OPTS = > > -test: > +install-test:  
> npm install 只要执行一次。不是每次test都要的。一般操作就是npm install & npm test
>  
> —
> Reply to this email directly or view it on GitHub (https://github.com/JacksonTian/eventproxy/pull/25/files#r4311597).
>  
>  
>