     .on 'error', (err) ->
       return
     .pipe minifyCSS()
-    .pipe gulp.dest 'themes/juan-pablo-villegas/static/css'
+    .pipe gulp.dest paths.css
 
 gulp.task 'typescript', ->
-  gulp.src 'themes/juan-pablo-villegas/static/ts/**/*.ts'
+  gulp.src paths.ts
     .pipe plumber
       errorHandler: (error) ->
         console.log error.message

        return
    .pipe ts
      noImplicitAny: true
    .pipe gulp.dest 'themes/juan-pablo-villegas/static/js'

gulp.task 'default', ['compass', 'typescript']
minifyCSS  = require 'gulp-minify-css'
ts         = require 'gulp-typescript'

theme = 'themes/juan-pablo-villegas/static'
paths =
  sass: theme + '/sass/**/*.{sass|scss}'
  ts:   theme + '/ts/**/*.ts'
  css:  theme + '/css'
  js:   theme + '/js'

gulp.task 'compass', ->
  gulp.src paths.sass
    .pipe plumber
      errorHandler: (error) ->
        console.log error.message
