The command running is:
cabal exec -- ./tmp/.cabal-sandbox/bin/reserve -p 10080 main/dev.hs
Where dev.hs just runs 'scotty 10080 '.
When going to the page it just reloads on every request (a sample):
Interrupted.
Setting phasers to stun... (port 10080) (ctrl-c to quit)
GET /images/aaa.png
Accept: image/webp,*/*;q=0.8
Status: 200 OK 0.000052s
Interrupted.
Setting phasers to stun... (port 10080) (ctrl-c to quit)
GET /css/reset.css
Accept: text/css,*/*;q=0.1
Status: 200 OK 0.000068s
Interrupted.
Setting phasers to stun... (port 10080) (ctrl-c to quit)
GET /css/typography.css
Accept: text/css,*/*;q=0.1
Status: 200 OK 0.00006s
Interrupted.
Setting phasers to stun... (port 10080) (ctrl-c to quit)
GET /css/base.css
Accept: text/css,*/*;q=0.1
Status: 200 OK 0.000062s
Interrupted.
Any ideas, I assume it is something to do with how I am starting scotty maybe.