From 7f0bfcf40f700421e7d4f0b33c930a634a942ed0 Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Mon, 23 Jun 2014 17:20:42 -0400 Subject: [PATCH] adding grunt file with connect --- Gruntfile.js | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Gruntfile.js diff --git a/Gruntfile.js b/Gruntfile.js new file mode 100644 index 0000000..b01254b --- /dev/null +++ b/Gruntfile.js @@ -0,0 +1,24 @@ +module.exports = function(grunt) { + + // Project configuration. + grunt.initConfig({ + pkg: grunt.file.readJSON('package.json'), + connect: { + server: { + options: { + hostname: 'localhost', + base: 'src/', + port: 9001, + keepalive: true + } + } + }, + }); + + // Load the plugin that provides the "uglify" task. + grunt.loadNpmTasks('grunt-contrib-connect'); + + // Default task(s). + grunt.registerTask('server', ['connect']); + +}; \ No newline at end of file