I would like to automatically initiate fontcustom watch
whenever the middleman server is running (and stop it when the server is stopped). Is this possible?
It’d be great to have a Fontcustom extension for Middleman so you don’t need to run an external command. I’m happy to help whoever wants to implement it if they need help.
I’d love to try. But as I mentioned on Twitter, my ruby skills are limited. Could you point me into the right direction? Is there a similar extension I could use as a boilerplate? Is it basically about https://github.com/FontCustom/fontcustom/issues/62 ?
Yeah, without Fontcustom exposing an easier to use API, it’s a bunch of complicated Ruby hoop-jumping to get it working.
Would you suggest to wait for an easier to use API?
It’s your call. I’m not planning on implementing any support into MM until it’s easier, but it could be hacked together.
Is there a similar extension which could serve use as a boilerplate?
Has anyone done any further work on this idea? Or, alternatively, has anyone got this extension working? https://github.com/uetchy/middleman-fontcustom