scotty-web / scotty

Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp (Official Repository)
http://hackage.haskell.org/package/scotty
BSD 3-Clause "New" or "Revised" License
1.71k stars 132 forks source link

Development server for scotty #336

Closed ocramz closed 4 months ago

ocramz commented 9 months ago

It would be nice to have an auto-reloading server for scotty applications.

This would

  1. parse a config file for build and run instructions (a la package.json)
  2. fork a process that watches the current directory for source changes, builds and runs the scotty app
  3. kill and restart the process upon change

Originally filed for a now-stale package that got deprecated by yesod. https://github.com/scotty-web/scotty/issues/89