This commit is contained in:
tknew2 2014-08-24 22:37:15 +02:00
parent 03376eb30f
commit 8895867495
2 changed files with 7 additions and 8 deletions

View File

@ -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 #

View File

@ -4,4 +4,3 @@ http.createServer(function(req, res) {
res.writeHead(200);
res.end('hey');
}).listen(8000);
console.log('test');