Mercurial > piecrust2
diff piecrust/commands/builtin/serving.py @ 663:3ceeca7bb71c
themes: Add support for a `--theme` argument to `chef`.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 01 Mar 2016 22:27:28 -0800 |
parents | fa3ee8a8ee2d |
children | 81d9c3a3a0b5 |
line wrap: on
line diff
--- a/piecrust/commands/builtin/serving.py Tue Mar 01 22:27:04 2016 -0800 +++ b/piecrust/commands/builtin/serving.py Tue Mar 01 22:27:28 2016 -0800 @@ -46,6 +46,7 @@ run_werkzeug_server( root_dir, host, port, debug_piecrust=debug, + theme_site=ctx.args.theme, sub_cache_dir=ctx.app.sub_cache_dir, use_debugger=debug, use_reloader=ctx.args.use_reloader) @@ -62,6 +63,7 @@ run_gunicorn_server( root_dir, debug_piecrust=debug, + theme_site=ctx.args.theme, sub_cache_dir=ctx.app.sub_cache_dir, gunicorn_options=options)