adding some compile caching to hem in server/watch mode