This is not evident in hte documentation,  but Leksah does  these things for you if you add your packages to the workspace list..<div><br></div><div>It is necessary to use the background compilation option, that is, set by default. </div>

<div><br></div><div>Alberto<br><div><br></div></div><br><div class="gmail_quote">2011/10/27 Konstantin Litvinenko <span dir="ltr">&lt;<a href="mailto:to.darkangel@gmail.com">to.darkangel@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

I am trying to understand how to organize my code and edit-compile-run cycles. I can&#39;t figure out how to setup environment in such why that when I build some program using cabal, cabal will rebuild program dependencies if some was changed. I don&#39;t want to configure/build/install manually.<br>


Having program &#39;foo&#39; depends on lib &#39;bar&#39; I want to edit some files in &#39;bar&#39; than build &#39;foo&#39; and get &#39;bar&#39; rebuilt and &#39;foo&#39; rebuilt/relink.<br>
How can I do this?<br>
<br>
<br>
______________________________<u></u>_________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/<u></u>mailman/listinfo/haskell-cafe</a><br>
</blockquote></div><br>