Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Multiline babel-node repl. #1741
It'd depend on your version of node or io.js. Can everyone who's tested it
On Thursday, 25 June 2015, Marques Woodson email@example.com wrote:
referenced this issue
Jun 28, 2015
@sebmck It's a raised issue with node so I've submitted a pull request that will hopefully be accepted or they'll implement their own fix. In the mean time we can either take the forked REPL fix and add to Babel as a temp patch or wait and see. The REPL fix will require a minor tweak in babel node to pass a custom check function for recoverable errors.
@discotroll65 unfortunately I've not had any movement on the pull request I submitted to the Node.js guys so at the moment it's in limbo. @sebmck may have some thoughts on the matter but essentially it's Node's implementation of REPL that breaks the multiline support in third party libraries. At the moment if your code doesn't require a newer version of Node then yeah use that until there's a better solution.