this.workingDirectory = lookupWorkingDirectory();
module.getProject().getMessageBus().connect().subscribe(SettingsChangeNotifier.GHC_MODI_TOPIC, this);
}
@Override
public void onSettingsChanged(@NotNull ToolSettings settings) {
<BUG>String path = settings.getPath();

this.path = GhcModUtil.changedPathIfStack(module.getProject(), path);
this.flags = GhcModUtil.changedFlagsIfStack(module.getProject(), path, settings.getFlags());</BUG>
kill();

this.workingDirectory = lookupWorkingDirectory();
module.getProject().getMessageBus().connect().subscribe(SettingsChangeNotifier.GHC_MODI_TOPIC, this);
}
@Override
public void onSettingsChanged(@NotNull ToolSettings settings) {
this.path = settings.getPath();
this.flags = settings.getFlags();
kill();
