Skip to content

Commit

Permalink
Fix so gulp runs file from local directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
josephspurrier authored Feb 15, 2017
1 parent 6ecd1d1 commit 8aa2fe9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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']);
gulp.task('default', ['sass', 'javascript', 'server:build']);

0 comments on commit 8aa2fe9

Please sign in to comment.