mirror of
https://github.com/koodiklinikka/koodiklinikka.fi.git
synced 2026-02-20 07:54:50 +00:00
fix coffeescript syntax so file will be written
This commit is contained in:
@@ -14,7 +14,6 @@ livereload = require 'gulp-livereload'
|
||||
reloadServer = lr()
|
||||
|
||||
compileCoffee = (debug = false) ->
|
||||
config = transform: ['coffeeify']
|
||||
|
||||
config =
|
||||
debug: debug
|
||||
@@ -30,8 +29,10 @@ compileCoffee = (debug = false) ->
|
||||
.pipe(rename('bundle.js'))
|
||||
|
||||
bundle.pipe(uglify()) unless debug
|
||||
bundle.pipe gulp.dest('public/js/')
|
||||
.pipe livereload reloadServer
|
||||
|
||||
bundle
|
||||
.pipe(gulp.dest('./public/js/'))
|
||||
.pipe(livereload(reloadServer))
|
||||
|
||||
compileJade = (debug = false) ->
|
||||
gulp
|
||||
|
||||
Reference in New Issue
Block a user