       test:
         files: "test/**/*.coffee"
         tasks: ["coffee:test"]
-
       stylus:
         files: "stylus/**/*.styl",
-        tasks: ["stylus"]
-
+        tasks: ["stylus:develop"]
       jade:
         files: "jade/**/*.jade",
         tasks: ["jade:develop"]

          expand: true
          cwd: 'jade/'
          src: ['**/*.jade']
          dest: 'dist/views/'
          ext: '.html'
        ]

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

    ngmin:
      production:
        src: 'dist/scripts/script.js'
        dest: 'dist/scripts/script.js'

    uglify:
      production:
        src: 'dist/scripts/script.js'
        dest: 'dist/scripts/script.min.js'
    chromeManifest:
      dist:
        options:

  # tasks
  grunt.registerTask "run", ["connect", "watch"]
  grunt.registerTask "minify", ["ngmin", "uglify"]

  grunt.registerTask "dev", [
    "bower:dev",
    "coffee:develop",
    "jade:develop",
    "stylus:develop"]

  grunt.registerTask "production", [
    "bower:install",
    "chromeManifest:dist",
