Closed raDiesle closed 12 years ago
Task works for me. Module has been updated recently.
// Project configuration.
grunt.initConfig({
handlebars: {
all: {
src: 'templates',
dest: 'js/templates.js'
}
}
});
grunt.loadNpmTasks('grunt-handlebars');
Are you still having trouble with this?
It works for me when I clone this project, but it doesn't work in my project when using grunt.loadNpmTasks('grunt-handlebars');
. I get no errors or anything, just nothing happens.
Can you pastebin your grunt file? What version of node/grunt?
With the newest versions it working fine for me,
Thanks a lot,
David
2012/7/7 Tim Oxley < reply@reply.github.com
Can you pastebin your grunt file? What version of node/grunt?
Reply to this email directly or view it on GitHub: https://github.com/groupdock/grunt-handlebars/issues/2#issuecomment-6820510
I got it to work too. I believe my grunt-contrib was overriding it, or I had an old version from npm. Regardless it works. Thanks.
@giannif @raDiesle Awesome.
Is the task already working? Example, please. Instead it's creating a "all" file, like the attribute name in handlebars of the grunt config.
Seems like I'm missing the depenencies of https://github.com/TooTallNate/node-gyp , node-ffi and npm-cli I tried to run it with the bbb command and grunt
Thanks