         files: [
           # TODO use **/*
           "<%= appConfig.app %>/{,*/}{,*/}*.html"
-          "{.tmp,<%= appConfig.app %>}/styles/{,*/}*.css"
-          "{.tmp,<%= appConfig.app %>}/scripts/{,*/}*.js"
+          "{<%= appConfig.dev %>,<%= appConfig.app %>}/styles/{,*/}*.css"
+          "{<%= appConfig.dev %>,<%= appConfig.app %>}/scripts/{,*/}*.js"
           "<%= appConfig.app %>/images/{,*/}*.{png,jpg,jpeg,gif,webp,svg}"
         ]
         tasks: ["livereload"]

          expand: true
          cwd: "<%= appConfig.test %>"
          src: "**/*.coffee"
          dest: ".tmp/test"
          ext: ".js"
        ]

    sass:
      dist:
        files:
          ".tmp/styles/style.css": "<%= appConfig.app %>/styles/style.scss"

    concat:
      dist:
        files:
          ".tmp/scripts/scripts.js": [
            ".tmp/scripts/**/*.js"
            "!.tmp/scripts/templates.js" # do not include complited templates
            "!.tmp/scripts/application_test.js" # do not include test application module
            "<%= appConfig.app %>/scripts/**/*.js"
          ]


        options:
          port: 9001
          middleware: (connect) ->
            [mountFolder(connect, "<%= appConfig.dev %>")]

      livereload:
        options:
