             options:
                 stripBanners: true
             src: [
-              "<%= meta.banner %>"
-              "src/jquery.fancytree.js"
-              "src/jquery.fancytree.columnview.js"
-              "src/jquery.fancytree.dnd.js"
-              "src/jquery.fancytree.filter.js"
-              "src/jquery.fancytree.menu.js"
-              "src/jquery.fancytree.persist.js"
-              "src/jquery.fancytree.table.js"
-              "src/jquery.fancytree.themeroller.js"
-              ]
+                "<%= meta.banner %>"
+                "src/jquery.fancytree.js"
+                "src/jquery.fancytree.columnview.js"
+                "src/jquery.fancytree.dnd.js"
+                "src/jquery.fancytree.filter.js"
+                "src/jquery.fancytree.menu.js"
+                "src/jquery.fancytree.persist.js"
+                "src/jquery.fancytree.table.js"
+                "src/jquery.fancytree.themeroller.js"
+                ]
             dest: "build/<%= pkg.name %>-all.js"
 
     connect:
-        demo:
+        forever:
             options:
                 port: 8080
                 base: "./"
                 keepalive: true
+        dev: # pass on, so subsequent tastks (like watch) can start
+            options:
+                port: 8080
+                base: "./"
+                keepalive: false
 
     copy:
         build:

        all: ["demo/**/*.html", "doc/**/*.html", "test/**/*.html"]

    jsdoc:
      build:
        src: ["src/*.js", "doc/README.md"]
        # http://usejsdoc.org/about-configuring-jsdoc.html#example
        options:
          destination: "doc/jsdoc_grunt"
#                    template: "bin/jsdoc3-moogle",
          verbose: true

    jshint:
      options:
        # Linting according to http://contribute.jquery.org/style-guide/js/
        jshintrc: ".jshintrc"
      beforeConcat: [
        "Gruntfile.js"
        "src/*.js"
        "3rd-party/**/jquery.fancytree.*.js"
        "test/unit/*.js"
        ]
      afterConcat: [
        "<%= concat.core.dest %>"
        "<%= concat.all.dest %>"
        ]

    less:
        development:
            options:
#             paths: ["src/"]
#             report: "min"
              compress: false
              yuicompress: false
#              optimization: 10
            files: [
                {expand: true, cwd: "src/", src: "**/ui.fancytree.less", dest: "src/", ext: ".fancytree.css"}
            ]

                }]

    csslint:
  #      options:
  #              csslintrc: ".csslintrc"
        strict:
            options:
                import: 2
            src: ["src/**/*.css"]

    cssmin:
        build:
