purescript-contrib / pulp

A build tool for PureScript projects
GNU Lesser General Public License v3.0
445 stars 86 forks source link

Pass follow: true to gaze to follow symlinked directories #378

Closed rnons closed 5 years ago

rnons commented 5 years ago

A follow up to #371. Fix the case when I have a shared folder like

sym
├── A.purs
├── B
│   └── B.purs

After cd src && ln -s ../../sym . and pulp -w build will only watch for sym/A.purs but not sym/B/B.purs.

The reason is gaze uses globule, which uses glob. The readme of glob says

** ... ... does not crawl symlinked directories.

Options

follow Follow symlinked directories when expanding ** patterns. Note that this can result in a lot of duplicate references in the presence of cyclic links.

hdgarrood commented 5 years ago

Thanks!

hdgarrood commented 5 years ago

Actually would you mind looking into the CI failures please?