Eric Stolten
866a282f19
* Preview now shows the deprecation message and calls watch.
...
* Details on how to disable the server in the command description.
2013-08-28 13:11:44 -04:00
Eric Stolten
f01b641649
1. Added the WATCH_SERVER flag that is enabled by default
...
1. Added an argument to watch, --no-server which will disable the embedded server.
1. Added a deprecation message to the preview mode
2013-08-25 22:49:50 -04:00
Eric Stolten
f14f52040a
Added a watch command that will continually poll for changes and rebuild them.
2013-08-20 21:59:39 -04:00
Simonas Kazlauskas
0a818d0725
Deploy should propagate error code
...
And return 1 if neither deployCommand and deploySite is set.
2013-05-22 15:24:26 +03:00
Evan Cofsky
8c73820abc
Clean up type declarations, use fst and <$>.
2013-05-21 09:01:00 -07:00
Evan Cofsky
c236cda401
Have Build and Rebuild exit with a status to the shell.
2013-05-20 21:17:31 -07:00
Jasper Van der Jeugt
cf98381508
Add event filtering based on pattern
2013-04-04 11:47:50 +02:00
Simonas Kazlauskas
259190e30b
Refine code
...
This patch includes several smaller changes, namely:
1. We don't use result of `update` function and likely never will, so
don't bother generating it.
2. Rename watch function to better reflect what it does.
3. Never exit preview server in case of failed update.
2013-03-31 14:47:47 +03:00
Simonas Kazlauskas
fdfbf3dd34
Run server in main thread
2013-03-30 17:48:36 +02:00
Samuel Tardieu
543cba90f6
Allow overriding the deploy
command with Haskell code
...
By overriding `deploySite` with a `Configuration -> IO ()` code,
the user can execute Haskell code to deploy the site rather than
shell code.
The default behaviour honors the `deployCommand` configuration
field and is backward compatible.
2013-03-24 21:52:21 +01:00
Jasper Van der Jeugt
e53ca6724c
Make run return ExitCode
2013-01-15 17:15:46 +01:00
Jasper Van der Jeugt
bbc2631c76
Add TmpFile utilities
2013-01-06 18:33:00 +01:00
Jasper Van der Jeugt
9ea75c128c
Allow checking internal links only
2012-12-31 15:32:46 +01:00
Jasper Van der Jeugt
24273d0348
Remove verbosity from configuration
2012-12-31 15:16:14 +01:00
Jasper Van der Jeugt
ed03544e1b
cmdargs isn't pretty but it's the best we have...
2012-12-31 10:25:24 +01:00