Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
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?
要在另一个位置点击 gruntfile,您只需要使用该--gruntfile标志。
--gruntfile
对于您想要的目录结构:
grunt --gruntfile ./build/grunt.js