⚠ Work In Progress. DocPad express servers module with unique ports.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
docpad-instance-spawn.js
package.json
readme.md

readme.md

DocPad Instance Spawn

Purposed to provide a function to spawn DocPad instances on unique ports.

docpadSpawn(port)

Install

npm install docpad-instance-spawn --save

#####Example: docpadSpawn(9966)

Note

Right now the DocPad instance looks for a docpad.coffee file at the root of the project. In that file you'll have to clearly set the path to where your docpad folder is in your project tree. It could be somehting like this:

rootPath: process.cwd() + '/public/docpad'