raco pollen render doesn't respect omitted-path? (pagetree specifically)
omitted-path? to omit
.sass-cache. I confirm that it indeed omits this path for page rendering. However, it doesn't omit this path for pagetree generation.
That is, I still see this line:
pollen: rendering generated pagetree for directory /path/to/.sass-cache
appearing when I
raco pollen render -s.
As the docs indicate,
omitted-path? only affects
raco pollen render and
raco pollen publish.
I don’t carry this behavior through to automatic pagetrees because that’s what
.ptree files are for.
.ptree source can have Pollen commands inside it that generate all or part of the pagetree. IOW it doesn’t have to be a static tree of pagenodes. So if you want to take your
omitted-path? predicate and apply it to the result of
directory->pagetree, AFAICT you’ll get the behavior you want.
Alright, that's fair. Closing.
Deleting a branch is permanent. It CANNOT be undone. Continue?