How to copy compiled jade files to a destination folder using grunt
问题 For a single page app that I'm working on, I have the following structure: dist css js lib partials index.html src css js lib views partials index.jade Directory dist will be used by the express server to serve the project. I have trivial grunt tasks (using grunt-contrib-clean , grunt-contrib-copy ) for cleaning dist and copying src/css , src/js , src/lib to dist . The problem lies with src/views . This directory contains jade files which need to be compiled to html files. After compilation I