Last active
August 29, 2015 14:03
-
-
Save chiehwen/318752765922d6a782ef to your computer and use it in GitHub Desktop.
used to configure or define tasks and load Grunt plugins.
This file contains 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
"use strict" | |
module.exports = (grunt) -> | |
grunt.initConfig | |
yeoman: | |
watch: | |
grunt.registerTask "server", (target) -> | |
return grunt.task.run() if target is "dist" | |
grunt.task.run ["clean:server", "concurrent:server", "connect:livereload", "open", "watch"] | |
grunt.registerTask "lessServer", (target) -> | |
return grunt.task.run() if target is "dist" | |
grunt.task.run ["clean:server", "concurrent:server", "connect:livereload", "open", "watch"] | |
grunt.registerTask "build", ["clean:dist", ] | |
grunt.registerTask "buildLess", [] | |
grunt.registerTask "default", ["server"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment