diff --git a/README.md b/README.md index 0466fc2..ad9d597 100644 --- a/README.md +++ b/README.md @@ -184,6 +184,14 @@ Here are the steps for Github, if you use another platform adapt it your way (he * Update your webhook on github to include the secret * Check if Github successfully reached the endpoint +#### 8. Keep your server always up and running (optionnal) + +This project `package.json` comes with a [nodemon](https://github.com/remy/nodemon) config. + +After installing (`npm i -g nodemon`) you can then run the app with juste the `nodemon` command in the working directory. + +With this method, you can do a simple `git pull` to update your server. + ## Writing an article [back to top](#gitblog-md) diff --git a/package.json b/package.json index 1a1d5e8..13fdb88 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gitblog.md", - "version": "1.2.1", + "version": "1.2.2", "description": "A static blog using Markdown pulled from your git repository.", "main": "src/server.js", "dependencies": { @@ -46,5 +46,16 @@ "!src/postinstall.js", "!src/lib/*.js" ] + }, + "nodemonConfig": { + "ignore": [ + "test/*", + "sample_data/*", + "data/*", + "uml/*", + "*.log", + "README.md" + ], + "delay": "2500" } }