0

Trying to run Grunt under foreman. Ideally i'd like to house my gruntfile in ./build as opposed to '.'.

I've also tried doing it in foreman via "grunt: cd build && grunt watch".

Can't seem to get it to work.... Is there a way to do this?

4

1 回答 1

3

要在另一个位置点击 gruntfile,您只需要使用该--gruntfile标志。

对于您想要的目录结构:

grunt --gruntfile ./build/grunt.js

于 2012-07-05T01:00:23.763 回答