Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use path relative to my app rather than full path. #136

Open
xpol opened this issue Jan 21, 2016 · 2 comments
Open

Use path relative to my app rather than full path. #136

xpol opened this issue Jan 21, 2016 · 2 comments

Comments

@xpol
Copy link

xpol commented Jan 21, 2016

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.

@creationix
Copy link
Member

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

@xpol
Copy link
Author

xpol commented Jan 22, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants