-
Notifications
You must be signed in to change notification settings - Fork 7
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
load path #2
Comments
@charleshross There is no easy way to determine the relative directory :( The path returned from |
If you can think of a solution I'd happily accept a PR |
@charleshross I added a small patch/hack to get working what you want. Let me know if you have any issues |
Oh wow, thank you man I'll test it out today! |
thanks ! |
to go up a folder and then into a folder I have to do this:
var site = loader.load(__dirname + "/../routes");
This is non-standard tho, usually this should be fine:
var site = loader.load("../routes");
Are you able to implement this behavior? I find it odd and verbose that I have to use "__dirname" otherwise I need to put the full path.
The text was updated successfully, but these errors were encountered: