reload-0.0.0.1: A web based Haskell IDE

Safe HaskellNone
LanguageHaskell2010

Language.Haskell.Reload

Description

The definition of the Scotty application, and lauching code the launch code is borrowed from https://github.com/yesodweb/wai/blob/master/wai-handler-launch/Network/Wai/Handler/Launch.hs but we couldn't reuse the library because it injects code to every HTML page, so here it's going to inject the code to HTML code we want to edit my-app.html does the pinging from the client, no need to inject JS code

Synopsis

Documentation

runApp Source #

Arguments

:: Int

The port to run on

-> IO () 

Run the application on a specific port

app Source #

Arguments

:: Bool

Shall we start the REPL (disabled for some tests for performance)

-> IO Application 

Simple application builder