Commit Graph

53 Commits

Author SHA1 Message Date
Michael Snoyman
58407c292e Fix a build failure 2016-11-29 13:51:02 +02:00
Michael Snoyman
3883063ec2 Devel server indicates when recompilation is occurring
Pinging @amitaibu
2016-11-28 09:58:48 +02:00
Michael Snoyman
b1f1e4e222 Revert to runghc 2016-11-26 17:57:32 +02:00
Michael Snoyman
f3fc735a25 README.md, and some minor code cleanups 2016-11-24 07:51:54 +02:00
Michael Snoyman
ab4d6540ca Workaround for compatibility with older fsnotify 2016-11-23 15:59:58 +02:00
Michael Snoyman
6048a2c9bf Got my logic backwards :( 2016-11-23 15:34:14 +02:00
Michael Snoyman
db3beff4f3 Some CPP for Cabal API changes 2016-11-23 15:19:27 +02:00
Michael Snoyman
83d3a12a23 Rewrite yesod devel based on Stack #1304
Please see ChangeLog for explanation.
2016-11-23 13:59:56 +02:00
Michael Snoyman
1fb697ff0d Add a workaround for yesodweb/wai#478 2015-12-06 13:29:17 +02:00
Michael Snoyman
32dbad23d3 s/127.0.0.1/localhost yesodweb/yesod-scaffold#114 2015-12-06 12:55:16 +02:00
Michael Snoyman
af00b76a18 Set X-Forwarded-Proto correctly yesodweb/yesod-scaffold#114 2015-12-06 12:54:36 +02:00
Bryan Richter
9fbfb62e68
Warning cleanup
Note that configCompilerEx was added in Cabal-1.18.0, not 1.22.
2015-07-22 13:10:50 -07:00
Michael Snoyman
46fbb1a615 Have to type quit to quit 2015-07-20 01:29:46 +03:00
Michael Snoyman
a7cccf2a7c yesod devel support for stack 2015-06-29 08:14:04 +03:00
Michael Snoyman
2d8507cbee Be slightly more verbose for #992 2015-05-17 10:31:40 +03:00
Njagi Mwaniki
58a07b0ea3
Added conditional compilation so that yesod-bin/Devel.hs can pass travis-ci tests.
Signed-off-by: Njagi Mwaniki <mwanikibusiness@gmail.com>
2015-04-15 18:50:05 +03:00
Njagi Mwaniki
c3a05d1f7b
Updated yesod-bin/Devel.hs
Replaced deprecated function `configCompiler` with `configCompilerEx`
  Removed unused argument "_opts" from function `lockFile`
  Added newline before guards which I think makes it more beginner friendly.

Signed-off-by: Njagi Mwaniki <mwanikibusiness@gmail.com>
2015-04-15 17:14:45 +03:00
Arne Link
91829fc82a Add support for GHC 7.10.1 2015-04-03 16:34:08 +02:00
Michael Snoyman
c2e836bf3a Some user-facing TLS info (pinging @chrisdone @DanBurton) 2015-03-31 09:30:53 +03:00
Dan Burton
85f16d0e9f Used race_ for clarity 2015-03-30 13:10:02 -07:00
Dan Burton
6562e6067c Second reverseproxy now handles incoming https requests 2015-03-30 12:57:07 -07:00
Dan Burton
2e573f440a Add a second reverse proxy for tls 2015-03-26 13:41:50 -07:00
Paul Rouse
5281d7aa3e Remain compatible with pre-0.4.7 http-client 2015-03-01 11:20:19 +00:00
Paul Rouse
761e7dd374 Disregard proxy environment variables in yesod devel 2015-02-28 21:38:11 +00:00
Harold Lee
f8fb6d3dc3 Improve error message when "yesod devel" complains about the GHC version.
I hit this problem and the fix was to reinstall yesod-bin (because I'd
upgraded my version of ghc):

    cabal install --reinstall yesod-bin

See issue #476.
2015-02-22 13:35:13 -08:00
Michael Snoyman
fb42a6d4bb Allow devel.hs in subdirs 2014-11-19 21:11:49 +02:00
Michael Snoyman
c0f0c13352 Disable tests and benchmarks for yesod devel #864 2014-11-13 23:36:03 +02:00
Michael Snoyman
ccab062f2d Remove all conditional compilation for Yesod 1.4 release
Left in for GHC-bundled libraries (ghc, base, bytestring, binary)
2014-09-07 18:17:45 +03:00
Erik de Castro Lopo
c20cb20438 yesod-bin/Devel.hs : Relax requirements on location of Application.hs.
I often move Application.hs to MyApp/Application.hs (and change the
module name as needed) which would result in yesod-bin printing a
warning about a missing Application.hs.

The code should now accept any file named Application.hs (either in
the top level source directory or somewhere in the tree.
2014-08-14 18:16:01 +10:00
Paul Rouse
20dfec4d88 Revise previous fix (#799) to yesod devel timeout 2014-08-08 11:10:07 +01:00
Paul Rouse
1d3b60abef Mitigate yesod devel load (#767) by increasing a timeout 2014-08-06 20:27:24 +01:00
Anthony Burzillo
54a4417f54 Add color to "Build failure" warning 2014-07-06 23:25:17 -04:00
Michael Snoyman
3202eec80a Merge remote-tracking branch 'origin/master' into wai3 2014-05-27 12:46:33 +03:00
Michael Snoyman
e305587143 Don't warn about unlisted Setup module 2014-05-25 08:27:48 +03:00
Michael Snoyman
82de52e3d2 Various additional WAI 3.0 fixes 2014-05-22 21:04:28 +03:00
Michael Snoyman
11ac378920 fsnotify 0.1 2014-05-15 11:51:03 +03:00
Michael Snoyman
cb95446469 Call watchTree in background (faster startup when there are lots of files) 2014-05-14 08:09:21 +03:00
Michael Snoyman
cf20f15957 Use Map for updating environment variables.
This ensures that the newly inserted variables overwrite any existing
variables. For more information, see:

https://groups.google.com/d/msg/yesodweb/0AX2GbKqmIk/nKYTCVoCm4QJ
2014-05-13 18:31:21 +03:00
Michael Snoyman
99831b52a2 Respect accept header for JSON in devel server #719 2014-04-24 07:14:01 +03:00
Michael Snoyman
d764464152 conduit 1.1 2014-03-27 16:38:52 +02:00
Ian Graves
198e65d222 Switching to Data.Default.Class in yesod-bin. 2014-03-01 14:16:44 -06:00
Greg Weber
fbfd1b65e4 Merge branch 'master' of github.com:yesodweb/yesod 2013-12-10 13:50:20 -08:00
Michael Snoyman
1747e2fdc8 Don't use fromStrict 2013-12-04 14:16:25 +02:00
Michael Snoyman
a2851c929c Merge branch 'master' into wai-2.0
Conflicts:
	yesod-bin/Devel.hs
2013-12-02 08:00:37 +02:00
Michael Snoyman
6b2e4ef3a4 Switch to EMBED_REFRESH 2013-12-02 07:59:26 +02:00
Greg Weber
12d0832f50 add --interrupt-only so yesod does not interrupt on enter
Useful when running multiple jobs in the same shell
2013-11-22 16:15:35 -08:00
Greg Weber
7915510322 hlint & compiler warnings
also tried out embeding the refresh file
2013-11-19 11:24:59 -08:00
Michael Snoyman
d34c3f26dc WAI 2.0 updates 2013-11-10 16:49:26 +02:00
Chris Done
39b031f35e Add nice refreshing page. 2013-07-16 08:30:46 +02:00
Michael Snoyman
f9be0a83bd Option to disable reverse proxy 2013-06-10 13:42:08 +03:00