Skip to content

Commit e4930a2

Browse files
committed
Fix restarting app when config has an "app" object intead of "meteor"
1 parent fb72350 commit e4930a2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ The `mup status` command gives an overview of what is running on the servers and
3939
- Some of Mup's dependencies use Buffer.alloc. When the version of node used to run mup is missing the function, mup will show a message explaining the problem and exit
4040
- Added 10 second timeout to the curl command in the Deployment Verifier
4141
- Fix retry logic for the copy file task
42+
- Fix `mup restart` and `mup meteor restart` when config has an `app` object instead of `meteor`
4243
- Fix running Prepare Bundle when image already has a `/built_app` folder
4344
- Fix alignment of list of servers when running `mup ssh` without specifying a server
4445
- Fix showing stack trace of errors with old versions of Node

src/plugins/meteor/command-handlers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ export function stop(api) {
367367

368368
export function restart(api) {
369369
const list = nodemiral.taskList('Restart Meteor');
370-
const sessions = api.getSessions(['meteor']);
370+
const sessions = api.getSessions(['app']);
371371
const config = api.getConfig().app;
372372

373373
list.executeScript('Stop Meteor', {

0 commit comments

Comments
 (0)