Permalink
Browse files

Rolling back update watch

  • Loading branch information...
1 parent 21939c6 commit 85b0939416e684a41ba34c1b4571cce943e8a66b @sreeix sreeix committed Dec 10, 2011
Showing with 2 additions and 1 deletion.
  1. +1 −1 server.coffee
  2. +1 −0 server.js
View
@@ -110,7 +110,7 @@ port = process.env.PORT || 4000
app.listen port, () ->
winston.log "app started at port #{port}"
-# do packages.watch_updates
+do packages.watch_updates
if process.env.ENV_VARIABLE is 'production'
new cron.CronJob '0 0 4 * * * *', () ->
View
@@ -166,6 +166,7 @@
app.listen(port, function() {
return winston.log("app started at port " + port);
});
+ packages.watch_updates();
if (process.env.ENV_VARIABLE === 'production') {
new cron.CronJob('0 0 4 * * * *', function() {
winston.log("Running github sync Cron now");

0 comments on commit 85b0939

Please sign in to comment.