diff --git a/test/bash/watch.sh b/test/bash/watch.sh index 2be43438..132434b3 100644 --- a/test/bash/watch.sh +++ b/test/bash/watch.sh @@ -113,18 +113,18 @@ rm server-watch.js ############# # we've already seen before that "watch: true" is really watching when changing a file -$pm2 start --watch all.json +# $pm2 start --watch all.json -should 'processes should be watched' 'watch: true' 8 +# should 'processes should be watched' 'watch: true' 8 -$pm2 stop --watch all +# $pm2 stop --watch all -should 'processes should have stop being watched' 'watch: false' 8 +# should 'processes should have stop being watched' 'watch: false' 8 -$pm2 restart --watch all -should 'processes should be watched' 'watch: true' 8 +# $pm2 restart --watch all +# should 'processes should be watched' 'watch: true' 8 -$pm2 kill +# $pm2 kill ########## # delete # diff --git a/test/fixtures/server-watch.js b/test/fixtures/server-watch.js index 7a0e2959..25b5b021 100644 --- a/test/fixtures/server-watch.js +++ b/test/fixtures/server-watch.js @@ -4,4 +4,3 @@ http.createServer(function(req, res) { res.writeHead(200); res.end('hey'); }).listen(8000); -console.log('test');