Closed iacore closed 1 month ago
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.
This has been fixed and will be released in Lume 2.3. From now on, if a file is removed and its folder is empty, it's removed too.
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.