Updated task.ts to include changes in typescript file

1. Removed resolving of paths to allow watching of arrays of files.
2. Included method to ensure stale typescript files are refreshed when in watch mode.