     .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

minifyCSS  = require 'gulp-minify-css'
ts         = require 'gulp-typescript'

gulp.task 'compass', ->
  gulp.src 'themes/juan-pablo-villegas/static/sass/**/*.{sass|scss}'
    .pipe plumber
      errorHandler: (error) ->
        console.log error.message

        return
    .pipe ts
      noImplicitAny: true
    .pipe gulp.dest paths.js

gulp.task 'watch', ->
  gulp.watch theme + '/sass/**/*.{sass,scss}', ['compass']
  gulp.watch paths.ts, ['typescript']

gulp.task 'default', ['compass', 'typescript']