       haml:
         files: ['_app/*', '_app/partials/*']
         tasks: ['haml']
-        options:
-          livereload: true
-
-      livereload:
-        options:  
-          livereload: true
-        files: ['app/**/*.html']
     
 
     connect:

          port: 9000
          middleware: (connect, options) -> 
            [
            
              require('connect-livereload')(src: "http://#{require('ip').address()}:35729/livereload.js?snipver=1"),
              mountFolder(connect, '.tmp'),
              mountFolder(connect, 'app')
            ]

 
      

  grunt.loadTasks "tasks"


  grunt.initConfig
    pkg: grunt.file.readJSON('package.json')

    concurrent: 
      serverwatch: ['connect:server:keepalive', 'watch']
    
    
    clean:
      files: ["tmp/"]

