Skip to content

Commit

Permalink
add start in a watch mode script
Browse files Browse the repository at this point in the history
  • Loading branch information
DusanRezdy committed Feb 11, 2020
1 parent ce0eeba commit 85dac1e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This project includes an independently-developed API specification for facilitating communication between partners, SLA guidelines, as well as templates and validation tools for implementing the API.

To run the documentation locally, clone the repository and run `npm start`.
To run the documentation locally, clone the repository and run `npm start`. For a watch mode using nodemon, run `npm start:w`

## API Structure

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"http-server": "^0.12.1"
},
"scripts": {
"start": "http-server ./docs -o -c-1"
"start": "http-server ./docs -o -c-1",
"start:w": "nodemon --watch 'docs' --ext 'yaml' --exec 'http-server ./docs -c-1'"
}
}

0 comments on commit 85dac1e

Please sign in to comment.