fixed a bug in which directories inside the src/ folder would make `watch’ crash