           '*.html'
           '*.md'
         ]
-        tasks: [
-          'exec:purge'
-          'exec:jekyll'
-        ]
-    connect: server: options:
-      port: 4040
-      base: '_site'
-      livereload: false
+
+        tasks: [ 'exec:purge', 'build' ]
+
+    connect:
+      server:
+        options:
+          port: 4040
+          base: '_site'
+          livereload: false
+
+
   grunt.registerTask 'build', [
     'set_environment'
     'exec:baseurl'

    'jade'
    'exec:jekyll'
    'copy'
    'sass'
    'coffee'
    'uglify'
    'cssmin'
  ]
  grunt.registerTask 'serve', [
    'build'

  grunt.loadNpmTasks 'grunt-contrib-cssmin'
  grunt.loadNpmTasks 'grunt-exec'

  currentEnvironment =
    grunt.config 'env',
    grunt.option('env') or process.env.GRUNT_ENV or 'development'

  env =
    development:
      baseurl: '"\'\'"'
