Fork me on GitHub
#perun
<
2017-12-17
>
bhagany01:12:07

@richiardiandrea I spent some time trying to take your lessc task and integrate perun's file watching, but I don't think it'll be very clean as long as compile-less-file! depends on the npm/exec task. Perun isn't design to require a fileset for its rendering functions, and so the way that compile-less-file! invokes npm/exec kind of outside the main task chain makes it difficult. I think I might take this and implement something like lessc in Perun itself though.

richiardiandrea01:12:50

@bhagany first of all thanks 😄

richiardiandrea01:12:25

second, I am using npm/exec for side effects only but I am passing things explicitely

richiardiandrea01:12:55

I should maybe refactor more so that I don't have any dependency on the fileset

bhagany02:12:34

I think there'd have to be a non-task way of executing npm

richiardiandrea02:12:54

yeah...probably actually shelling out is a better option

bhagany02:12:41

interesting, that's what I'd do with Perun (we use conch), but we'd lose the handy npm install that npm/exec does

richiardiandrea02:12:01

npm/exec uses the fileset because of the :include option only (I am checking)...

bhagany02:12:12

yes, that's how I read it

bhagany02:12:44

er, well, I guess it still has to return the fileset, even in the absence of :include

richiardiandrea02:12:38

yes one way or another you'll need to return the fileset but it is true that my task could be simplified with conch

richiardiandrea02:12:08

npm/exec puts some sugar around npm binary detection basically

bhagany02:12:21

right. Perun's pattern is just to say "you have to have this external package installed" and then assume that it is. degree9's way of handling npm is nicer, and I like it.

richiardiandrea02:12:18

I think also that he has some improvement coming out

bhagany02:12:36

interesting, I'll keep an eye on it

richiardiandrea02:12:33

but feel free to throw stuff at me in case you want to try it out...I have a setup with Semantic UI going

richiardiandrea03:12:08

btw is there a perun SNAPSHOT version with the latest changes by any chance?

richiardiandrea04:12:12

an a preview of the website for this #perun 😄 you guys deserve it given the hard work you put into it 😄 http://andrearichiardi.com

bhagany04:12:54

nice site!

bhagany04:12:11

I'm not sure about the latest snapshot... @podviaznikov does those

bhagany04:12:32

when your officially launch your site, feel free to submit a PR to include it in Perun's README

richiardiandrea04:12:43

Ok thanks! I see there are a couple of problems here and there ;)