bug(output): fixes #8

Adds ability to clear require cache for specs.js.
Fixes #8.