aboutsummaryrefslogtreecommitdiffhomepage
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorChris Lawrence2013-09-15 20:19:47 -0400
committerChris Lawrence2013-09-15 20:19:47 -0400
commit55f220109c4f3e7c870ebfafa6533415d5e76111 (patch)
treed587896348e7f5d0d30752e5cb72da89d049dfec /Gruntfile.js
parentd8fb09fb64aa238a2fecafadb3839b8491f919b5 (diff)
parent9cf7de54b8fb6bdad1342d087adfeea94604a674 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 4df3181..124a78d 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -1,6 +1,6 @@
/* global module:false */
module.exports = function(grunt) {
-
+ var port = grunt.option('port') || 8000;
// Project configuration
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
@@ -78,7 +78,7 @@ module.exports = function(grunt) {
connect: {
server: {
options: {
- port: 8000,
+ port: port,
base: '.'
}
}