Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 08b993c7da72cf99bf036624885fcfb476660a5e 1 parent 9bc0d36
@FokkeZB FokkeZB authored
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);
Please sign in to comment.
Something went wrong with that request. Please try again.