add dedicated instant preview command
DJ
committed Mar 13, 2019
commit f6676e49b2dd6bce6dbef35902bf63e7eae547b0
Showing 2
changed files with
3 additions
and 1 deletions
.forestry/settings.yml
+1
-0
| @@ | @@ -37,3 +37,4 @@ build: |
| preview_command: npm run site:build | |
| publish_command: npm run site:build | |
| output_directory: portfolio/.vuepress/dist | |
| + | instant_preview_command: npm run site:develop |
| \ No newline at end of file | |
package.json
+2
-1
| @@ | @@ -1,7 +1,8 @@ |
| { | |
| "name": "portfolio-vuepress", | |
| "scripts": { | |
| - | "site:build": "vuepress build portfolio" |
| + | "site:build": "vuepress build portfolio", |
| + | "site:develop": "vuepress dev portfolio -p 8080 -h 0.0.0.0" |
| }, | |
| "author": "Nichlas W. Andersen", | |
| "license": "MIT", | |