Created
July 23, 2014 22:44
-
-
Save sunilw/b867dbe5f2e6b500a960 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function (grunt){ | |
grunt.initConfig({ | |
compass : { | |
dist : { | |
options : { | |
cssDir : 'sw-inc/css', | |
sassDir : 'sass' | |
} | |
} | |
}, // ends compass task definitions | |
watch : { | |
files : [ '*php', 'js/*', 'sass/*' ], | |
tasks : ['compass'], | |
options : { | |
livereload: true | |
} | |
}, // ends watch task definition | |
concurrent : { | |
target1 : ['watch'], | |
options : { | |
logConcurrentOutput : true | |
} | |
} // ends concurrent | |
}); // end task defintions | |
grunt.loadNpmTasks('grunt-concurrent'); | |
grunt.loadNpmTasks('grunt-contrib-watch'); | |
grunt.loadNpmTasks('grunt-contrib-compass'); | |
grunt.registerTask( 'default' , ['concurrent:target1', 'concurrent:target2'] ) ; | |
} ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment