https://github.com/mikeumus/docpad-instance-spawn
⚠ Work In Progress. DocPad express servers module with unique ports.
https://github.com/mikeumus/docpad-instance-spawn
Last synced: 2 months ago
JSON representation
⚠ Work In Progress. DocPad express servers module with unique ports.
- Host: GitHub
- URL: https://github.com/mikeumus/docpad-instance-spawn
- Owner: mikeumus
- Created: 2013-11-08T05:12:13.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2020-09-29T14:50:58.000Z (over 4 years ago)
- Last Synced: 2024-04-15T02:54:18.594Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# 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'`