Use path.join for compatibility

This commit is contained in:
Vesa Poikajärvi
2014-10-24 11:30:24 +07:00
parent 372e2503a8
commit 4d21ddbbe4

View File

@@ -88,7 +88,7 @@ gulp.task 'assets', ->
gulp.task 'server', ->
require('http')
.createServer ecstatic root: __dirname + '/public'
.createServer ecstatic root: path.join(__dirname, '/public')
.listen 9001
gulp.task 'watch', ->