This is what I currently have:
coffee: {
options: {
bare: true
},
glob_to_multiple: {
expand: true,
flatten: false,
cwd: 'public/js',
src: ['*.coffee'],
dest: 'public/js',
ext: '.js'
}
},
The problem is I have two directories which contain my JS files, and I don't know how to set it up to watch both places, and compile the javascript into the same directories the coffeescripts are in.
This is the coffeescript command I'm trying to replicate the functionality of: coffee --watch --compile .