ARCHIVED-mongoose-repl icon indicating copy to clipboard operation
ARCHIVED-mongoose-repl copied to clipboard

die when connection is lost

Open jonahkagan opened this issue 11 years ago • 0 comments

Right now the repl just stays open when, say, your internet goes down. I think it might also reconnect when it comes back, which is nice I guess, but the problem is that when you type a command in a repl that isn't connected to a db, it hangs for a while until it the command fails before dying, and then you lose that command from history. It would be better to just die like the mongo shell does.

jonahkagan avatar Aug 29 '13 17:08 jonahkagan