Skip to content
Browse files

Changes runIndefinitely config option to keepAlive.

  • Loading branch information...
1 parent 8b79a3c commit 6e720925bf110f1ee9b8b339e810cdb15c4d0a21 Claudio Ortolina committed Feb 14, 2013
Showing with 4 additions and 4 deletions.
  1. +1 −1 README.md
  2. +1 −1 grunt.js
  3. +2 −2 tasks/connect.js
View
2 README.md
@@ -36,7 +36,7 @@ grunt.initConfig({
test: {
port: 1338,
base: 'test',
- runIndefinitely: false
+ keepAlive: false
},
meta: {
port: 1339,
View
2 grunt.js
@@ -36,7 +36,7 @@ module.exports = function(grunt) {
meta: {
port: 1338,
base: 'tasks',
- runIndefinitely: false
+ keepAlive: false
},
combined: {
port: 1339,
View
4 tasks/connect.js
@@ -21,9 +21,9 @@ module.exports = function(grunt) {
grunt.registerMultiTask('connect', 'Run a simple static connect server till you shut it down.', function() {
- var runIndefinitely = this.data.runIndefinitely;
+ var keepAlive = this.data.keepAlive;
- if (runIndefinitely === undefined || runIndefinitely == true) {
+ if (keepAlive === undefined || keepAlive === true) {
this.async();
}

0 comments on commit 6e72092

Please sign in to comment.
Something went wrong with that request. Please try again.