From 8aa2fe9b55908b03a02932217d81aaae4523a766 Mon Sep 17 00:00:00 2001 From: Joseph Spurrier Date: Wed, 15 Feb 2017 09:39:21 -0500 Subject: [PATCH] Fix so gulp runs file from local directory. --- gulpfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index b22b535..5ca4aa3 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -206,7 +206,7 @@ gulp.task('server:spawn', function() { if (os.platform() == 'win32') { server = child.spawn(appname + '.exe'); } else { - server = child.spawn(appname); + server = child.spawn('./' + appname); } // Trigger reload upon server start @@ -247,4 +247,4 @@ gulp.task('watch', ['server:build'], function() { gulp.task('init', ['sass', 'javascript', 'jquery', 'bootstrap', 'underscore', 'favicon', 'server:build']); // Default - only run the tasks that change often -gulp.task('default', ['sass', 'javascript', 'server:build']); \ No newline at end of file +gulp.task('default', ['sass', 'javascript', 'server:build']);