1.1.0 • Published 10 years ago

gulp-go v1.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

gulp-go

Build Status David DM

go run for gulp

Install

npm install gulp-go

Usage

var gulp   = require("gulp");
var gulpgo = require("gulp-go");

var go;

gulp.task("go-run", function() {
  go = gulpgo.run("main.go", ["--arg1", "value1"], {cwd: __dirname, stdio: 'inherit'});
});

gulp.task("devs", ["go-run"], function() {
  gulp.watch([__dirname+"/**/*.go"]).on("change", function() {
    go.restart();
  });
});

License

MIT

1.1.0

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago