Update watch.js

fixes module loader selection