 
 # Use markdox to output markdown files for the API Documentation.
 gulp.task 'markdox', ->
+
+  markdox = require 'gulp-markdox'
+  
   gulp.src [
       'src/**/core/**/*.coffee'
       'src/**/components/**/*.coffee'

  b.bundle()

watchLogger = (color, watcher) ->
  server = livereload()  if useLiveReload
  watcher.on 'change', (event) ->
    log color, "file #{event.path} was #{event.type}"

rename     = require 'gulp-rename'
uglify     = require 'gulp-uglify'
stylus     = require 'gulp-stylus'
concat     = require 'gulp-concat'
minifyCSS  = require 'gulp-minify-css'
rimraf     = require 'gulp-rimraf'
fs         = require 'fs'
http       = require 'http'
argv       = require('minimist') process.argv
source     = require 'vinyl-source-stream'
gulpBuffer = require 'gulp-buffer'
Promise    = require 'bluebird'
exec       = Promise.promisify (require 'child_process').exec

