Improve development files

This commit is contained in:
Yuya Ochiai
2015-12-23 22:04:21 +09:00
parent f5ce8ae5a1
commit 6316df3c20
6 changed files with 31 additions and 11 deletions

View File

@@ -16,8 +16,8 @@ var argv = require('yargs').argv;
var client = null;
if (argv.livereload) {
client = require('electron-connect').client.create();
client.on('stop', function() {
app.quit();
client.on('reload', function() {
mainWindow.reload();
});
}