3.0.2 • Published 8 years ago

gulp-run-electron v3.0.2

Weekly downloads
10
License
Apache-2.0
Repository
github
Last release
8 years ago

gulp-run-electron

Gulp plugin for starting Electron. Requires a peer dependency of electron.

Usage

var runElectron = require("gulp-run-electron");
gulp.src("app")
	.pipe(runElectron(["--cli-argument", "--another"], {cwd: "path"}));

runElectron(args: array, opts: object)

Runs the electron executable on the src folder with the specified arguments, and passes the opts object to child_process.spawn.

Both arguments are optional. If you only want to use the opts object, pass an empty array for args.

runElectron.rerun

For gulp.watch, exits Electron and opens it again; use like so:

gulp.watch("files/*", ["files", runElectron.rerun]);
3.0.2

8 years ago

3.0.1

9 years ago

3.0.0

9 years ago

2.0.1

10 years ago

2.0.0

10 years ago

1.2.2

10 years ago

1.2.1

11 years ago

1.2.0

11 years ago

1.1.1

11 years ago

1.1.0

11 years ago

1.0.0

11 years ago