Skip to content
Browse files

Allow to disable build

The build triggers node supervisor on OpenShift, so if you don' need it, it would be nice if it could be turned off.
  • Loading branch information...
1 parent 9bc0d36 commit 08b993c7da72cf99bf036624885fcfb476660a5e @FokkeZB FokkeZB committed Feb 20, 2014
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/init/build.js
View
4 lib/init/build.js
@@ -3,6 +3,10 @@ var utils = require('utilities')
, fs = require('fs');
var init = function (app, callback) {
+
+ if (app.config.disableBuild) {
+ return;
+ }
setupModels(app);
setupSharedHelpers(app);

0 comments on commit 08b993c

Please sign in to comment.
Something went wrong with that request. Please try again.