Skip to content

Instantly share code, notes, and snippets.

@ChrisCates
Last active September 24, 2015 23:28
Show Gist options
  • Save ChrisCates/ce1e29fb45356033139a to your computer and use it in GitHub Desktop.
Save ChrisCates/ce1e29fb45356033139a to your computer and use it in GitHub Desktop.
// grab our gulp packages
var gulp = require('gulp'),
gutil = require('gulp-util'),
exec = require('gulp-exec')
gulp.task('server', function (cb) {
exec('node app.js', function (err, stdout, stderr) {
console.log(stdout);
console.log(stderr);
cb(err);
});
})
gulp.task('default', ['server']);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment