luvi
luvi copied to clipboard
Use path relative to my app rather than full path.
When my luvit app crashes, it reports full path of lua files. When the path is too long to display, it was truncated with ...
This is not friendly for look up errors and not for possible for editors capture errors. Is it possible to force luvit use path relative to my app root rather than full path.
I'm not sure how this could be done. Luvi has no concept of luvit app roots.
Where does luvi resolve path to full path or actually it all done by luajit? I'd like to check if it is possible to add something like app root. Something like rake do:
$ rake (in /Users/abc/src) ...