create a separated task to watch files