You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create a directory assets/generated in _site, and fill it with files
add assets/generated to keep_files
do not create an assets directory in the Jekyll source directory, or create one but leave it empty
run jekyll build
the directory assets/generated is cleaned.
I'm not sure the best way to handle this. We wouldn't want to keep parent directory files if there were any, but we want to prevent the assets from being removed if assets/generated is listed in keep_files.
The text was updated successfully, but these errors were encountered:
We're having the same problem with watching where a destination is a subdirectory of a subdirectory. We need to walk up until source and keep the folders there but delete the files.
For example, if I
assets/generated
in _site, and fill it with filesassets/generated
tokeep_files
assets
directory in the Jekyll source directory, or create one but leave it emptythe directory
assets/generated
is cleaned.I'm not sure the best way to handle this. We wouldn't want to keep parent directory files if there were any, but we want to prevent the
assets
from being removed ifassets/generated
is listed inkeep_files
.The text was updated successfully, but these errors were encountered: