You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bash handles history and interrupts keyboard inputs like UP, DOWN, PGUP, PGDN. To use those keyboard inputs with Node, NODE_NO_READLINE=1 has to be set.
>$ NODE_NO_READLINE=1 node . //works
>$ NODE_NO_READLINE=1 nodemon . //does not work
In absence of this env var, keyboard inputs appear as escape sequences like [[^A, [[^B.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as idle and stale because it hasn't had any recent activity. It will be automtically closed if no further activity occurs. If you think this is wrong, or the problem still persists, just pop a reply in the comments and @remy will (try!) to follow up.
Thank you for contributing <3
Nodemon does not respect NODE_NO_READLINE=1 env variable. I need to set this env variable as documented here:
https://nodejs.org/api/repl.html#using-the-nodejs-repl-with-advanced-line-editors
Bash handles history and interrupts keyboard inputs like UP, DOWN, PGUP, PGDN. To use those keyboard inputs with Node, NODE_NO_READLINE=1 has to be set.
In absence of this env var, keyboard inputs appear as escape sequences like [[^A, [[^B.
The text was updated successfully, but these errors were encountered: