Skip to content

Commit

Permalink
Merge pull request #7 from Rezdy/feature/start-in-watch-mode
Browse files Browse the repository at this point in the history
add start in a watch mode script
  • Loading branch information
ollym authored Feb 11, 2020
2 parents ce0eeba + 85dac1e commit ae2cad1
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 ae2cad1

Please sign in to comment.