mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Remove an inaccurate comment and add a potentially helpful comment.
This commit is contained in:
@@ -62,8 +62,6 @@ function onConnection(socket) {
|
||||
});
|
||||
}
|
||||
|
||||
// The child process calls this function when it receives the SHELLSTART
|
||||
// command from the parent process (via stdin).
|
||||
function startREPL(options) {
|
||||
if (! options.output.columns) {
|
||||
// The REPL's tab completion logic assumes process.stdout is a TTY,
|
||||
@@ -264,6 +262,8 @@ exports.connect = function(appDir) {
|
||||
reconnect.count = 0;
|
||||
connected = true;
|
||||
|
||||
// Sending a JSON-stringified options object (even just an empty
|
||||
// object) over the socket is required to start the REPL session.
|
||||
sock.write(JSON.stringify({
|
||||
terminal: !process.env.EMACS
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user