commercialhaskell / stack

The Haskell Tool Stack
http://haskellstack.org
BSD 3-Clause "New" or "Revised" License
3.99k stars 844 forks source link

stack haddock --open --no-rebuild #2234

Open ghorn opened 8 years ago

ghorn commented 8 years ago

I am often in the situation where I want to look at recent documentation without rebuilding. One reason is that I am debugging something and can't get it to compile, but recent documentation would help me. Another reason is just avoiding long recompilation.

mgsloan commented 8 years ago

I suppose we could turn the flag --no-build, supported by stack ghci, into a general build flag. Good idea!

anacrolix commented 6 years ago

Is there any workaround for this?

mgsloan commented 6 years ago

@anacrolix Workaround for now is cd $(stack path --local-doc-root) + open manually