Created
October 25, 2013 18:07
-
-
Save francisbrito/7159153 to your computer and use it in GitHub Desktop.
Dirty simple Grunt config for front-end projects.
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({ | |
watch: { | |
liverload: { | |
files: [ | |
'app/index.html' | |
], | |
options: { | |
livereload: true | |
} | |
} | |
}, | |
connect: { | |
server: { | |
options: { | |
port: 8080, | |
base: [ | |
'./app', | |
'./bower_components' | |
] | |
} | |
} | |
} | |
}); | |
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks); | |
grunt.registerTask('default', ['connect', 'watch']); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment