Fixed issue watchin non-dir.