Fix change detection breaking on syntax errors

As described here https://github.com/substack/watchify/issues/54#issuecomment-44539592