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
about the latest
Linux
site.copy('public')
deno task serve & # wait for server to launch cd public/ mkdir b.md touch b.md/b.md rm -r b.md; touch b.md
100% methinks
There should be no error.
ERROR Failed to copy file: /b.md/b.md: Not a directory (os error 20): readfile '/home/user/__site__/public/b.md/b.md'
workaround: run deno task serve again.
deno task serve
The text was updated successfully, but these errors were encountered:
Do you mean this error should be catched and showed in the terminal but without exit?
Do you mean this error should be cached and showed in the terminal but without exit?
ohhh sorry i forgot to fill in the field; it should not be an user-facing error.
let me explain why the error happens
proper behavior: when Lume sees empty folder it should overwrite it
this may mess with site.copy('empty_directory'); not sure who would want to put an empty directory in the output though.
site.copy('empty_directory')
Version
about the latest
Platform
Linux
What steps will reproduce the bug?
site.copy('public')
How often does it reproduce? Is there a required condition?
100% methinks
What is the expected behavior?
There should be no error.
What do you see instead?
Additional information
workaround: run
deno task serve
again.The text was updated successfully, but these errors were encountered: