andorx
3/6/2017 - 11:36 PM

Docpad.coffee - Enable livereload in Vagrant

Docpad.coffee - Enable livereload in Vagrant

# Define the DocPad Configuration
docpadConfig = {
  watchOptions:
    preferredMethods: ['watchFile', 'watch']
    catchupDelay: 0
    regenerateDelay: 0
  
  # Copy third-party to out folder
  plugins:
    raw:
      raw:
        command: ['rsync', '-v', './vendors/jquery/dist/jquery.min.js', './out/js/']
}

# Export the DocPad Configuration
module.exports = docpadConfig