Is there any way to make the repl console start with an included script? Neither --interactive --eval nor --require worked here (v5.3.0)
Activity
Fishrock123 commentedon Jan 13, 2016
What you are looking for should be
-ir <module>, I think.Why doesn't that work? Because our current options parsing is a bunch of garbage
if-elsestatements.@evanlucas Tried to make it use
getopta while ago but that had some edge cases. See: #1862pannous commentedon Jan 13, 2016
Here is what I tried last:
Fishrock123 commentedon Jan 13, 2016
Again, that doesn't currently work, but we know about it. :/
[-]repl startup script .noderc[/-][+]--interactive with --require[/+]node: allow preload modules with -i
node: allow preload modules with -i
pannous commentedon Jan 18, 2016
nice!
node: allow preload modules with -i