在我的应用程序(Asp.net mvc)中,我有以下文件夹结构:

Scripts文件夹包含所有.js和.coffee文件。在文件Controllers夹中,每个控制器都有一个文件夹。
我需要每当.coffee文件更改时,都会.js在同一个文件夹中创建一个同名的新文件。
module.exports = (grunt) ->
# Configurações
grunt.initConfig
coffee:
compile:
options:
basePath: 'Scripts'
preserve_dirs: true
files: 'Scripts/*.js': 'Scripts/**/*.coffee'
# Plugins
grunt.loadNpmTasks 'grunt-contrib-coffee'
当我运行 grunt:grunt coffee时出现以下错误:
无法写入“Scripts/*.js”文件(错误代码:ENOENT)。使用 --force 继续
