-
Notifications
You must be signed in to change notification settings - Fork 696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new-haddock
's file monitoring broken
#4506
Comments
I can't seem to get |
I studied the implementation of Does this analysis sound correct? @hvr @ezyang |
@int-index Yes, that sounds accurate to me. One approach which makes conceptual sense to me is to treat documentation as another "target". There are a few ways to do this:
|
@ezyang fwiw, @alexbiehl and I had vague plans to have haddocks lazily built on a by-need basis, which would probably benefit from considering haddocks a separate component. PS: related #3535 |
optimistically closing |
Consider the following simple reproduction instructions:
The first invocation of
new-haddock
works as expected:However, the 2nd invocation of
new-haddock
rebuilds the documentation (NB: the install-plan wasn't resolved, and the action plan says "(first run)"):What's really bad though: if we remove
dist-newstyle
again, and start withcabal new-build
, thennew-haddock
doesn't generate any documentation at all:The text was updated successfully, but these errors were encountered: