         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.app %>/scripts"
          src: "**/*.coffee"
          dest: ".tmp/scripts"
          ext: ".js"
        ]


    "casperjs"
  ]

  # TODO this task is broken
  grunt.registerTask "test:watch", [
    "build"
    "coffee:test"
