     env:
       PORT: process.env.PORT or 3000
 
-gulp.task 'default', ['clean', 'copy', 'css', 'js-dev', 'lint', 'index', 'server', 'watch']
+gulp.task 'default', ['clean', 'copy', 'css', 'js', 'lint', 'index', 'server', 'watch']
 
 gulp.task 'watch', ['copy'], ->
   livereload.listen()

  target
  .pipe(inject(bowerSources, {name: 'bower', ignorePath: 'src'}))
  .pipe(inject(es.merge(
    cssFiles,
    jsFiles
  ), {ignorePath: 'dist'}))
  # .pipe(inject(publicSources))
  .pipe(inject(jsSources))
  .pipe(inject(partialSources), {
    starttag: '<!-- inject:head:{{ext}} -->',
    transform: (filePath, file) ->
      #return file contents as string 
      return file.contents.toString('utf8')
  })
  .pipe(gulp.dest(dist_path))

gulp.task 'clean', ->


js = (watch) -> webpack('client', 'cjsx', watch)

# jsFiles = null
gulp.task 'js', ->
  js(false)

gulp.task 'js-dev', ->
  js(true)

gulp.task 'lint', ->
  gulp.src("#{src_path}/public/js/*.js")
