Skip to content

Instantly share code, notes, and snippets.

@benstr
Created October 21, 2014 13:52
Show Gist options
  • Save benstr/0be68556bae2a04a5b4f to your computer and use it in GitHub Desktop.
Save benstr/0be68556bae2a04a5b4f to your computer and use it in GitHub Desktop.
Egghead.io - ECMA6 - traceur compiler and Grunt code
module.exports = function(grunt){
grunt.initConfig({
traceur: {
options: {
experimental:true
},
custom: {
files:{
'build/app.js': "js/**/*.js"
}
}
},
watch: {
files:"js/**/*.js",
tasks: "traceur"
}
});
grunt.loadNpmTasks('grunt-traceur-latest');
grunt.loadNpmTasks('grunt-contrib-watch');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment