diff --git a/ecosystem.config.js b/ecosystem.config.js index 27b2c55..2e6d98a 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -2,6 +2,6 @@ module.exports = { 'apps' : [{ 'name': 'Blocklist', 'script': './server.js', - 'watch': './server.js' + 'watch': './updated.txt' }] }; diff --git a/update.sh b/update.sh index 9b7c1ec..4a58916 100755 --- a/update.sh +++ b/update.sh @@ -28,3 +28,5 @@ for file in ${OTHERLIST[@]}; do done cp $DOWNLOADS/*.txt $PUBLIC/ + +touch ./updated.txt