Skip to content

Instantly share code, notes, and snippets.

@i8degrees
Created September 25, 2016 19:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save i8degrees/0572661c116137e5635eab8c1c58fd23 to your computer and use it in GitHub Desktop.
Save i8degrees/0572661c116137e5635eab8c1c58fd23 to your computer and use it in GitHub Desktop.
gulp and node.js dev
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