One problem with the current plugin is that if it's compiled before EQC is available, it won't work thereafter until you manually delete it and force it to be recompiled. This can happen quite a bit if you have several Erlang installs and switch between them, but don't have EQC installed in every one.
This PR allows the plugin to recompile itself if the status of EQC changes, when EQC is not available it tells you to install it and when EQC becomes available the plugin recompiles itself to reflect that.
Additionally this PR fixes an issue with coverdata from EQC tests being written.
One problem with the current plugin is that if it's compiled before EQC is available, it won't work thereafter until you manually delete it and force it to be recompiled. This can happen quite a bit if you have several Erlang installs and switch between them, but don't have EQC installed in every one.
This PR allows the plugin to recompile itself if the status of EQC changes, when EQC is not available it tells you to install it and when EQC becomes available the plugin recompiles itself to reflect that.
Additionally this PR fixes an issue with coverdata from EQC tests being written.