Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 274 by Will.Donnelly: HConf only works for yi, but can easily be  
fixed
http://code.google.com/p/yi-editor/issues/detail?id=274

1. Set up a simple project using HConf to provide all the fancy dynamic
recompilation goodness.
2. After installing it, create a basic modified config.
3. Then make a change to the base program again and recompile and install.
4. The old modified executable will still be run, and the configuration
won't be recompiled.

This happens because the 'recompile' function in 'HConf.hs' is hard-coded
to check against the modification time of the 'yi' executable. This is the
only instance of such hard-coding in HConf (excepting the 'Paths_yi'
thing). It can easily be changed by modifying the literal string "yi" on
line 257 to the variable 'app'.

Incidentally, is HConf ever going to be packaged as a standalone library on
Hackage? It's really a great piece of work, and I would love to be able to
easily use it without manually adding the sources to my projects.


Attachments:
        diff  446 bytes

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
yi-devel@googlegroups.com
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Reply via email to