Skip to content

Commit

Permalink
fix(instance): save cliConfig if running is found to be false
Browse files Browse the repository at this point in the history
no issue
- actually save the config, don't just set the value
  • Loading branch information
acburdine committed Jul 1, 2017
1 parent af27274 commit 96a3536
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/instance.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Instance {
this.loadProcess();

if (!this.process.isRunning(this.dir)) {
this.cliConfig.set('running', null);
this.cliConfig.set('running', null).save();
return false;
}

Expand Down

0 comments on commit 96a3536

Please sign in to comment.