Fixes the watch task.