urbanslug / wai-devel

A development server for wai applications.
MIT License
10 stars 6 forks source link

Passing RTS options to app with wai-devel #27

Open MaxGabriel opened 8 years ago

MaxGabriel commented 8 years ago

Is it possible to pass RTS options to my app when using wai-devel? I'm adding EKG to a Yesod app, but in order to collect garbage collection statistics I need to use +RTS -T.

urbanslug commented 8 years ago

Such functionality can be added.

Quick question, I'm thinking of freezing the development of wai-devel because ide-backend (what wai-devel depends on) is broken for TH files and I don't want to maintain that big project alone(maintenance is kinda frozen). However, there's another project coming up https://github.com/haskell/haskell-ide-engine that wai-devel could depend on. I could get that to work for wai-devel then get back to wai-devel when it has a solid base. Is this something you'd want?

MaxGabriel commented 8 years ago

So, to be honest I don't have a strong reason to use wai-devel over yesod devel. I just vaguely remember Michael Snoyman saying wai-devel would solve a bunch of problems with yesod devel (Are there some advantages documented somewhere? wai-devel seems faster and I think uses Stack better). Consequently, I'm fine with development being frozen. Great work on this project so far, btw!

I don't have a technical opinion on ide-backend vs haskell-ide-engine—I'm not familiar enough with those projects.