diff options
author | Hakim El Hattab | 2015-06-03 12:00:35 +0200 |
---|---|---|
committer | Hakim El Hattab | 2015-06-03 12:00:35 +0200 |
commit | 562d3b0238f69029fad912c067b5d4555f09e3ae (patch) | |
tree | 08fa7517e03f2137dd442d500d7e62d877efe5bc /Gruntfile.js | |
parent | 0055b7b763ff633fb11c35dc7580c2df1603a562 (diff) | |
parent | db359519aed9a949944c9543a0b6f5c0745c3e85 (diff) |
Merge branch 'davidbanham-master' into dev
Diffstat (limited to 'Gruntfile.js')
-rw-r--r-- | Gruntfile.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 46385f4..a851845 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -1,6 +1,8 @@ /* global module:false */ module.exports = function(grunt) { var port = grunt.option('port') || 8000; + var base = grunt.option('base') || '.'; + // Project configuration grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), @@ -91,7 +93,7 @@ module.exports = function(grunt) { server: { options: { port: port, - base: '.', + base: base, livereload: true, open: true } |