No description
Find a file
2015-10-06 02:28:15 +03:00
src Added tests 2015-10-06 02:28:15 +03:00
tests Added tests 2015-10-06 02:28:15 +03:00
.gitignore
.gitmodules
.travis.yml
Changelog.md
LICENSE
README.md Updated Readme. Fixed arguments not working bug. Awaiting tests. 2015-09-24 14:59:14 +03:00
refreshing.html
Setup.hs
stack-7.8.yaml
stack-7.10.yaml Added tests 2015-10-06 02:28:15 +03:00
stack-head.yaml
stack.yaml
travis_long
wai-devel.cabal Added tests 2015-10-06 02:28:15 +03:00

wai-devel

WAI compliant development server for haskell web frameworks.

Installation

  • cd wai-devel
  • stack build
  • stack install

The wai-devel binary will now be in your ~/.local/bin you can use it freely.

Usage

Works with a fresh yesod scaffold.
It gives your application a port to listen on via the environment variable PORT.
Therefore, your application should "get" the environment variable PORT to find a port which it shall listen on.

run stack build before running wai-devel for your application for the first time.

Sorry cabal binary users. Support for you is coming soon.

You don't need to set anything such as `GHC_PACKAGE_PATH` as long as stack can build your app wai-devel will. The only thing that would be helpful setting would be the PORT environment variable if you wish not to use 3000.

Issues

Fixed recompiles to only recompile the changed file but broke recompiles in case the change is in a TH dependency file such as shakesperean templates.

Coming next

  • Provide a dashboard page with compilation status, GC stats, and other such useful meta-information.
  • Port to windows. This depends on ide-backend getting ported to Windows.
  • Proper support for cabal binary users and their sandboxes.