   # tasks
   grunt.registerTask "run", ["connect", "watch"]
   grunt.registerTask "minify", ["ngmin", "uglify"]
-  grunt.registerTask "dev", ["bower:install", "coffee:develop", "jade:develop", "stylus"]
+
+  grunt.registerTask "dev", [
+    "bower:dev",
+    "coffee:develop",
+    "jade:develop",
+    "stylus:develop"]
+
   grunt.registerTask "production", [
     "bower:install",
     "chromeManifest:dist",

        ]

    stylus:
      compile:
        files: [
          expand: true
          cwd: 'stylus/'
          src: ['**/*.styl']
          dest: 'dist/css/'
          ext: '.css'
        ]


          expand: true
          cwd: 'jade/'
          src: ['**/*.jade']
          dest: '<%= config.app %>/views/'
          ext: '.html'
        ]

    bower:
      options:
        targetDir: './'
        install: true
        verbose: true
        cleanTargetDir: false
        cleanBowerDir: false
      dev:
        options:
          layout: (type, component) ->
            if type is 'css'
              return config.app + '/css/lib'
            else
              return config.app + '/scripts/lib'
      production:
        options:
          layout: (type, component) ->
            if type is 'css'
              return config.dist + '/css/lib'
            else
              return config.dist + '/scripts/lib'

    ngmin:
      production:
        src: '<%= config.dist %>/scripts/script.js'
        dest: '<%= config.dist %>/scripts/script.js'

    uglify:
      production:
        src: '<%= config.dist %>/scripts/script.js'
        dest: '<%= config.dist %>/scripts/script.min.js'

    chromeManifest:
      dist:
        options:
