|Issue 220:||Make happstack terminate on ctrl+C and auto-reload|
|1 person starred this issue and may be notified of changes.||Back to list|
At least happstack-lite, should perhaps terminate when Ctrl+C is pressed. This doesn't work for me, as you can see from my SO question: http://stackoverflow.com/questions/8673230/ctrlc-doesnt-work-in-windows-haskell-happstack Also, refreshing the application is PITA. Currently my development is: 1. Write code & save 2. Close running main.exe cmd window 3. Compile "ghc --make -threaded .\Main.hs -o main" 4. Double-click "main.exe" 5. Refresh browser which is quite a bit of work if I just want to change a piece of HTML or something. Any suggestions?
Jun 24, 2012
When I try to install plugins-auto on windows I get this error: cabal.exe: The package has a './configure' script. This requires a Unix compatibility toolchain such as MinGW+MSYS or Cygwin. cabal.exe: Error: some packages failed to install: hinotify-0.3.2 depends on unix-184.108.40.206 which failed to install. plugins-220.127.116.11 failed during the configure step. The exception was: ExitFailure 1 plugins-auto-0.0.4 depends on unix-18.104.22.168 which failed to install. unix-22.214.171.124 failed during the configure step. The exception was: ExitFailure 1 P.S.: Imo installing unix utilities on windows is not a solution.
Jun 25, 2012
plugins-auto currently relies on the inotify library, which is specific to the Linux kernel. Our best option right now is to wait for this GSoC project to come to completion: http://gsoc2012.markdittmer.org/ Though, I believe the unified file notification stuff is done, so we could migrate plugins-auto to use that now if someone was interested in doing it.
Jun 25, 2012
The lack of a working ctrl-c on Windows is a known issue -- and is something outside of happstack itself as far as I know. On this page: http://www.haskell.org/haskellwiki/Windows#Special_tips_and_tricks_for_Windows They should using rlwrap: http://utopia.knoware.nl/~hlub/rlwrap/ Which also gives you better command history as well. Does that help at all?
|► Sign in to add a comment|