|
@@ -1,6 +1,6 @@
|
|
/* global module:false */
|
|
/* global module:false */
|
|
module.exports = function(grunt) {
|
|
module.exports = function(grunt) {
|
|
-
|
|
|
|
|
|
+ var port = grunt.option('port') || 8000;
|
|
// Project configuration
|
|
// Project configuration
|
|
grunt.initConfig({
|
|
grunt.initConfig({
|
|
pkg: grunt.file.readJSON('package.json'),
|
|
pkg: grunt.file.readJSON('package.json'),
|
|
@@ -78,7 +78,7 @@ module.exports = function(grunt) {
|
|
connect: {
|
|
connect: {
|
|
server: {
|
|
server: {
|
|
options: {
|
|
options: {
|
|
- port: 8000,
|
|
|
|
|
|
+ port: port,
|
|
base: '.'
|
|
base: '.'
|
|
}
|
|
}
|
|
}
|
|
}
|