سؤال

I'm using docpad and for local development I start him with docpad run and it runs and become an active process in terminal.

And I'm using grunt and I have watch command that compiles my stylus files. And I'm running grunt watch in another terminal tab and it's starts another active process.

Can I combine these tools in one command and one active process? I tried grunt-shell and started grunt watch and docpad run in one tool, but docpad in that case doesn't work.

هل كانت مفيدة؟

المحلول

There's a Grunt plugin for DocPad: https://github.com/robloach/docpad-plugin-grunt

As I understand it, it just basically runs Grunt on the project every time DocPad re-generates. So it's not exactly what you're asking for but it works. :)

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top