odensc / gulp-run-electron Goto Github PK
View Code? Open in Web Editor NEWGulp plugin for starting Electron.
License: Apache License 2.0
Gulp plugin for starting Electron.
License: Apache License 2.0
I'd like to receive a close event from runElectron. The reason is that when Electron closes, I would like to quit Gulp (so it stops watching for file changes).
Seems to happen when I save a file and the rerun
function is called.
Error I'm getting is:
/Users/dave/my-app/node_modules/gulp-run-electron/src/index.js:18
cb(null, file);
^
TypeError: cb is not a function
at done (/Users/dave/my-app/node_modules/gulp-run-electron/src/index.js:18:4)
After inspecting cb
, it's value at the point of failure is:
{ type: 'changed',
path: '/Users/dave/my-app/services/js/uninstall.js' }
But if I remove the uninstall.js
file then it will still fail (cb
will be an object with a different path).
I use the debug
module in my electron app and the color information seems to be stripped when the console logs are output through gulp-run-electron
.
As of Electron version 1.3.1, you can npm install electron
to install the latest precompiled version of Electron.
Currently electron-prebuilt
and electron
packages are exactly the same. Electron team will be publishing both of them until end of 2016 and recommends to move from using electron-prebuilt
to electron
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.