Bren
Bren

Reputation: 273

How do I exit the Meteor development server on Mac (CTRL-C equivalent)?

I have a project in Meteor that I started in Windows but have now migrated over to OS X. In Windows, I was always able to stop running the project locally simply by using CTRL-C. This doesn't seem to do anything in the terminal in OS X, it just brings up a new command line.

When I type meteor reset, I get the following:

reset: Meteor is running.
This command does not work while Meteor is running your application. Exit the running Meteor development server.

I looked at meteor --help but no luck there. I also saw a post recommending I go into Activity Monitor and shut down any node processes (which didn't help) but there has to be a way to do this directly from the terminal.

I'm stuck and can't reload the app, because I can't shut down the previous one. Thanks.

Upvotes: 3

Views: 2419

Answers (2)

Bryan
Bryan

Reputation: 775

Use this code to kill the meteor process:

kill `ps ax | grep '[m]eteor' | awk '{print $1}'`

Upvotes: 15

MrE
MrE

Reputation: 20778

in Webstorm, click the red cross icon on the left side bar to close the terminal session.

Upvotes: 0

Related Questions