From 6ee55223c795ea2455d8f670173784e2d9793961 Mon Sep 17 00:00:00 2001 From: Ramiro Saenz Date: Tue, 12 Jul 2016 18:54:09 -0300 Subject: [PATCH] Added more listeners for process Firebase was generating an error asking for increase the listeners. --- electron/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electron/main.js b/electron/main.js index 8ed3d272..2fc841d1 100644 --- a/electron/main.js +++ b/electron/main.js @@ -121,7 +121,7 @@ function createWindow () { // and restore the maximized or full screen state mainWindowState.manage(mainWindow); - process.setMaxListeners(100); + process.setMaxListeners(10000); // and load the index.html of the app. mainWindow.loadURL('file://' + __dirname + '/../index.html');