updated to allow watching files in parent folder of index.js