luvi icon indicating copy to clipboard operation
luvi copied to clipboard

Use path relative to my app rather than full path.

Open xpol opened this issue 9 years ago • 2 comments

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.

xpol avatar Jan 21 '16 12:01 xpol

I'm not sure how this could be done. Luvi has no concept of luvit app roots.

creationix avatar Jan 21 '16 16:01 creationix

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) ...

xpol avatar Jan 22 '16 01:01 xpol