3 Commits

Author SHA1 Message Date
soyuka
cb4aecbe0d fix #1947 allow multiple --watch options for multiple paths 2016-03-12 15:39:52 +01:00
soyuka
efcdb06824 Test #1668 2015-10-30 23:33:52 +01:00
Antoine Bluchet
506c7146e4 Watch refactor: improve tests, paths resolving
- move tests from bash to js
- removed `pm2_env`.watch path resolving in favor of chokidar `cwd`
  option ([see here](https://github.com/paulmillr/chokidar/blob/master/CHANGELOG.md#chokidar-100-7-april-2015)) (fix #1577)
- if watch is a boolean, path is set to process cwd (`pm2_env.pm_cwd`) (keep #1578 coverage)
2015-09-03 23:43:13 +02:00