Re: [pollen] ‘raco pollen start’ and ‘raco pollen render --recursive’ inconsistent with respect to ‘current-project-root’

2018-03-07 Thread Matthew Butterick
OK, I just pushed an update with a `--subdir` switch that behaves this way. > On Mar 7, 2018, at 3:32 AM, 'Leandro Facchinetti' via Pollen > wrote: > > Hi, > > Consider the following Pollen project: > > ;; a.txt.pp > #lang pollen > ◊(current-project-root) > >

Re: [pollen] ‘raco pollen start’ and ‘raco pollen render --recursive’ inconsistent with respect to ‘current-project-root’

2018-03-07 Thread Matthew Butterick
> On Mar 7, 2018, at 8:01 AM, 'Leandro Facchinetti' via Pollen > wrote: > > I believe the directory containing ‘pollen.rkt’ is the “real home directory.” > Is this conception problematic? Yes. Consider a project structured like this at the top level: a.html.pm

Re: [pollen] ‘raco pollen start’ and ‘raco pollen render --recursive’ inconsistent with respect to ‘current-project-root’

2018-03-07 Thread Matthew Butterick
This sounds wrong. And yet: is it? `current-project-root` is documented as the "the directory where you launched raco pollen start". (I'm not saying that pedantically — I often read the Pollen docs to find out things I've forgotten ;) The idea of `raco pollen render --recursive` is that