Code that I have:
coffee: { compile: { files: { 'server/api/**/*.js': ['server/api/**/*.coffee'] // compile and concat into single file } } }, Meaning, the target Dir should be the same where the .coffee file was found. Above code in Grunt does however create the directory "**" and puts the file "*.js" into it.
This is what I want:
server/api/sample/sample.coffee -> server/api/sample/sample.js server/api/sample2/sample2.coffee -> server/api/sample2/sample2.js