Files
meteor/packages/shell-server/main.js
Ben Newman 3c7f83778f Move server-side component of meteor shell into a package. (#7624)
This will make it much easier to fix bugs and make improvements going
forward, since they won't have to wait for the next release of Meteor.

One functional change: when the parent process exits, it no longer forces
all connected shell clients to disconnect, which is actually a more
convenient behavior, because it gives the clients a chance to reconnect
when/if the server starts up again, and it's easy enough to kill the
clients if that's what you want.
2016-08-11 09:11:40 -04:00

8 lines
165 B
JavaScript

export * from "./shell-server.js";
import { listen } from "./shell-server.js";
const shellDir = process.env.METEOR_SHELL_DIR;
if (shellDir) {
listen(shellDir);
}