'use strict';

module.exports = function(grunt) {

  grunt.initConfig({
    jasmine: {
      all: {
        src: [
          'src/**/*.js',
        ],
        options: {
          'vendor': 'lib/**/*.js',
          'specs': 'spec/**/*.js'
        }
      }
    },
    watch: {
      files: ['src/**/*.js', 'spec/**/*.js'],
      tasks: ['jasmine:all']
    }
  });

  // Register tasks.
  grunt.loadNpmTasks('grunt-contrib-jasmine');
  grunt.loadNpmTasks('grunt-contrib-watch');
  grunt.loadNpmTasks('grunt-contrib-connect');

  // Default task.
  grunt.registerTask('default', 'watch');

};
@@ -345,16 +345,133 @@
 e:all'%5D%0A
+    %7D,%0A    connect: %7B%0A      server: %7B%0A        options: %7B%0A          port: 3000,%0A          base: '.'%0A        %7D%0A      %7D%0A
     %7D%0A  
@@ -690,16 +690,28 @@
 lt',
+ %5B'connect',
  'watch'
 );%0A%0A
@@ -706,14 +706,15 @@
  'watch'
+%5D
 );%0A%0A%7D;

add connect grunt task