build-runner

0.0.3 • Public • Published

Build Runner

This tool allows you to use some watcher system to execute a build command and a run command.

Very helpful for building web applications in go.

Installation

npm install build-runner --save-dev

Ussage with Gulp

var gulp     = require('gulp'),
    BuildRunner = require('build-runner');

var server = new BuildRunner({
  build: 'make',
  run:   'bin/server'
});

gulp.task('default', function() {
  server.buildRun();

  gulp.watch(['src/**/*.go'], function() {
    server.buildRun();
  });
});

Options

  • build - The command to run to build the application.
  • run - The command to run to run the application.

Readme

Keywords

none

Package Sidebar

Install

npm i build-runner

Weekly Downloads

1

Version

0.0.3

License

MIT

Last publish

Collaborators

  • nerdyworm