use global isWatching to run watchify