From e80eea325fb57aec7b61e3d0a164fc4c55eb7b1f Mon Sep 17 00:00:00 2001 From: Leonardo Zizzamia Date: Mon, 8 Dec 2014 23:23:21 -0800 Subject: [PATCH] Doc improvement. --- docs/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/server.js b/docs/server.js index d7407af7..5bec4fe0 100644 --- a/docs/server.js +++ b/docs/server.js @@ -217,7 +217,7 @@ app.get('/table.json', function(req, res){ var exec = require('exec'); app.post('/compile.json', function(req, res){ var modules = req.body.join(':'); - return exec('gulp build-module --env ' + modules, function (error, stdout, stderr) { + return exec('node_modules/gulp/bin/gulp.js build-module --env ' + modules, function (error, stdout, stderr) { res.json({'success': true }); }); });