         .pipe(header(headerCat, version))
         .pipe(gulp.dest(config.js.dest.main))
 
-gulp.task 'js_build_lib', ->
     gulp.src(config.js.src.lib)
         .pipe(plumber())
         .pipe(closure(compilation_level: 'SIMPLE_OPTIMIZATIONS'))
         .pipe(uglify())
         .pipe(gulp.dest(config.js.dest.lib))
-
-gulp.task 'js_build', sequence(
-    ['js_build_main']
-    ['js_build_lib']
-)
 
 
 

#
###

gulp.task 'js_dev_main', ->
    gulp.src(config.js.src.main)
        .pipe(plumber())
        .pipe(includeFile())
        .pipe(coffee())
        .pipe(gulp.dest(config.js.dest.main))
        .pipe(reload(stream: true))

gulp.task 'js_dev_lib', ->
    gulp.src(config.js.src.lib)
    .pipe(gulp.dest(config.js.dest.lib))
        .pipe(reload(stream: true))

gulp.task 'js_dev', sequence(
    ['js_dev_main']
    ['js_dev_lib']
)


gulp.task 'js_build_main', ->
    gulp.src(config.js.src.main)
        .pipe(plumber())
        .pipe(includeFile())

#
###

gulp.task 'jade', ->
    gulp.src(config.tpl.src)
        .pipe(plumber())
        .pipe(jade(
            pretty: '    '
        ))
        .pipe(gulp.dest(config.tpl.dest))



