I'm really not sure it ever worked properly, and was often triggering X is redefined from X errors.
Since hxb (#11504) has been merged, CompilationServer.setModuleCheckPolicy seems utterly broken (as expected for things that would tend to break over time with compilation server: with hxb, it break fast) and triggers BadModule errors.. which are new errors that would have resulted in a X is redefined from X before.
I'm currently removing it entirely, but I can see some real use case in there for CheckFileContentModification (and possibly NoCheckFileTimeModification) policy which seems like a legit one. Will look into simplifying the previous API to only allow these two. I kept functionality for previous CheckFileContentModification and NoCheckFileTimeModification policies.
I'm really not sure it ever worked properly, and was often triggering
X is redefined from X
errors.Since hxb (#11504) has been merged,
CompilationServer.setModuleCheckPolicy
seems utterly broken (as expected for things that would tend to break over time with compilation server: with hxb, it break fast) and triggersBadModule
errors.. which are new errors that would have resulted in aX is redefined from X
before.I'm currently removing it entirely, but I can see some real use case in there forI kept functionality for previousCheckFileContentModification
(and possiblyNoCheckFileTimeModification
) policy which seems like a legit one. Will look into simplifying the previous API to only allow these two.CheckFileContentModification
andNoCheckFileTimeModification
policies.Closes #6993