oops, re-initialize resolver after refresh

Fixes "TypeError: Cannot call method 'resolve' of null", caught by
cli-test.  Gets cli tests closer to passing.
get old cli tests passing for me