Created
September 25, 2016 19:07
-
-
Save i8degrees/0572661c116137e5635eab8c1c58fd23 to your computer and use it in GitHub Desktop.
gulp and node.js dev
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var exec = require('child_process').exec; | |
gulp.task('start', function (callback) { | |
exec('node server/app.js', function (err, stdout, stderr) { | |
console.log(stdout); | |
console.log(stderr); | |
callback(err); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment