-
Notifications
You must be signed in to change notification settings - Fork 94
Add interactive near repl
with auto-injected nearlib
, near
and account
#128
Conversation
bin/near
Outdated
@@ -1,4 +1,4 @@ | |||
#!/usr/bin/env node | |||
#!/usr/bin/env node --experimental-repl-await |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's --experimental-repl-await?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(would be helpful to leave a comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems to be very googlable, so probably not worth it:
https://www.google.com/search?client=safari&rls=en&q=--experimental-repl-await&ie=UTF-8&oe=UTF-8
looks like it needs some changes for ci (it fails with /usr/bin/env: 'node --experimental-repl-await': No such file or directory) |
yeah, it's kinda weird, cannot reproduce this locally. Both BSD Maybe it should be fixed together with #45 (as then there is reason for us to launch child process). |
Needed this for my own debugging, I think will be useful for everyone else as well