Reputation: 4872
I'm reloading my script a lot and would like to change the default directory where node repl is looking at so that I don't have to provide the whole path.
Is that possible?
Upvotes: 0
Views: 592
Reputation: 106726
The node.js REPL uses the current working directory (the directory in which you invoked the REPL) as a base when you use relative paths.
Upvotes: 2