#7413: runghc (runhaskell) should be able to reload code on editing -----------------------------+---------------------------------------------- Reporter: va1en0k | Owner: Type: feature request | Status: new Priority: normal | Component: Compiler Version: 7.6.1 | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: None/Unknown | Blockedby: Blocking: | Related: -----------------------------+---------------------------------------------- Hot code reloading on file edit is an incredibly useful feature for server development.
Right now several Haskell web frameworks are able to reload code on file edits, however there does not seem to be a simple way to use code reloader from one of them without finding yourself up to the neck in the framework. It seems to me that the best thing what can be done is a flag to runghc / runhaskell: {{{ runghc --reload MyServer.hs }}} It should watch for changes in the main file and all imported modules (or at least imported modules in the current folder). A nice addition would be an ability to specify more files to watch {{{ runghc --reload-watch *.some.weird.haskell.js --reload MyServer.hs }}} -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7413> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs