Improve app/daemon development #1753

Merged
neb-b merged 3 commits from daemon-development into master 2018-07-11 19:30:00 +02:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 44d98ac422 - Show all commits

View file

@ -59,7 +59,7 @@ app.on('ready', async () => {
if (!isDaemonRunning) {
daemon = new Daemon();
daemon.on('exit', () => {
if (isDev) {
if (!isDev) {
daemon = null;
if (!appState.isQuitting) {
dialog.showErrorBox(

View file

@ -254,7 +254,7 @@ export function doCheckDaemonVersion() {
return dispatch => {
Lbry.version().then(({ lbrynet_version: lbrynetVersion }) => {
// Avoid the incompatible daemon modal if running in dev mode
// Lets you run a different daemone than the one specificed in package.json
// Lets you run a different daemon than the one specified in package.json
if (isDev || config.lbrynetDaemonVersion === lbrynetVersion) {
return dispatch({
type: ACTIONS.DAEMON_VERSION_MATCH,