Yeoman watching HAML files, but not compiling -
when using grunt-contrib-haml, can grunt watch haml changes, nothing generated html.
what need add gruntfile.js file occur?
have specified grunt-contrib-haml
task in watch task execute haml compiler? may did this:
watch: { files : [ 'public/**/*.haml', 'public/**/*.scss', 'public/**/*.coffee' ] tasks : [ 'compass', 'coffee' ] }
instead of
watch: { files : [ 'public/**/*.haml', 'public/**/*.scss', 'public/**/*.coffee' ] tasks : [ 'haml', 'compass', 'coffee' ] }
best regards :)
Comments
Post a Comment