Update worker.js

skip updateCache if `exact === true`.  `exact` holds the output of npm commands and is set to `true` only when `package.json` has not changed