These are chat archives for jescalan/roots

9th
Feb 2017
Richard Matthews
@Reinkaos
Feb 09 2017 01:59
Hey, is there a way that I could use roots to kick of a ruby script before it compiles?
Jeff Escalante
@jescalan
Feb 09 2017 02:09
yeah you can use the before hook in app.coffee
you can run an external script using child_process from node
Richard Matthews
@Reinkaos
Feb 09 2017 02:18
awesome
Thanks for that, I will have a look into it
Jeff Escalante
@jescalan
Feb 09 2017 02:18
:+1:
Richard Matthews
@Reinkaos
Feb 09 2017 02:18
will Roots wait until that process has finished before it compiles?
Jeff Escalante
@jescalan
Feb 09 2017 02:18
if you use a synchronous execute, it will
Richard Matthews
@Reinkaos
Feb 09 2017 02:19
Nice
I'll let you know how I get on
Jeff Escalante
@jescalan
Feb 09 2017 02:19
there's an open issue for allowing those hooks to return a promise, would be an easy implementation but i havent got around to it
roots is not being actively developed anymore, spike is it's successor
Richard Matthews
@Reinkaos
Feb 09 2017 02:20
Interesting
Scott
@scottsandersdev
Feb 09 2017 15:37
nvm. dumb typo. thanks anyways!
Jeff Escalante
@jescalan
Feb 09 2017 18:31
@scottsandersdev glad you figured it out! :tada: