module.exports = function (grunt) {
    grunt.loadNpmTasks('grunt-contrib-watch');
    grunt.loadNpmTasks('grunt-contrib-connect');
    grunt.loadNpmTasks('grunt-open');
 
    grunt.initConfig({
        pkg: grunt.file.readJSON('package.json'),
        connect: {
            server: {
                options: {
                    hostname: "localhost",
                    port: 8080,
                    base: './'
                }
            }
        },
        watch: {
            files: '*'
        },
        open: {
            dev: {
                path: 'http://localhost:8080/index.html'
            }
        }
    });
 
    grunt.registerTask('default', ['connect', 'open','watch']); 
}
@@ -33,144 +33,8 @@
 ) %7B%0A
-    grunt.loadNpmTasks('grunt-contrib-watch');%0A    grunt.loadNpmTasks('grunt-contrib-connect');%0A    grunt.loadNpmTasks('grunt-open');%0A %0A
     
@@ -493,16 +493,151 @@
 %0A    %7D);
+%0A%0A    grunt.loadNpmTasks('grunt-contrib-watch');%0A    grunt.loadNpmTasks('grunt-contrib-connect');%0A    grunt.loadNpmTasks('grunt-open');
 %0A %0A    g
@@ -684,16 +684,17 @@
  'open',
+ 
 'watch'%5D

update grunt