diff --git a/README.md b/README.md index 6e002ebb..b524a754 100755 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ in ```/server/config```. There are ```*.example.js``` files for all the ones men If you want to use Google Analytics, have a look at ```analytics.example.js``` in ```server/config/```. -Use ```$ npm start``` to start the server. +Use ```$ npm start``` to start the server. (Alternative you can use the ```pm2.json``` in the project-root, if you prefer pm2 for running the apps.) ### About diff --git a/pm2.json b/pm2.json index e42b4c5a..f931e678 100644 --- a/pm2.json +++ b/pm2.json @@ -1,8 +1,16 @@ { - "apps" : [{ - "name" : "zoff", - "script" : "./server/app.js", - "watch" : true, - "ignore_watch": ["node_modules", "public/assets/images/thumbnails"], - }] + "apps" : [ + { + "name" : "zoff", + "script" : "./server/app.js", + "watch" : true, + "ignore_watch": ["./node_modules", "./server/public/assets/images/thumbnails"], + }, + { + "name" : "gulp", + "script" : "./gulpfile.js", + "watch" : true, + "ignore_watch": ["./node_modules", "./server/"], + } + ] }