aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-make/main.c
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2017-02-12 23:44:52 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2017-02-12 23:44:52 +0100
commit4ad218b5710659899ba842da5a597db5052f2d4d (patch)
treebdcc163184030f05513ab77f8779ea8c6f7d1a86 /src/blogc-make/main.c
parentcbeba5720d1b98cd7db013038b741b1a6ac9e48c (diff)
downloadblogc-4ad218b5710659899ba842da5a597db5052f2d4d.tar.gz
blogc-4ad218b5710659899ba842da5a597db5052f2d4d.tar.bz2
blogc-4ad218b5710659899ba842da5a597db5052f2d4d.zip
blogc-make: implemented automatic reloader for runserver rule
this is not the best implementation possible, but it works for most use cases
Diffstat (limited to 'src/blogc-make/main.c')
-rw-r--r--src/blogc-make/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blogc-make/main.c b/src/blogc-make/main.c
index 1e43580..98d4cc7 100644
--- a/src/blogc-make/main.c
+++ b/src/blogc-make/main.c
@@ -104,7 +104,7 @@ main(int argc, char **argv)
rules = bc_slist_append(rules, bc_strdup("all"));
}
- ctx = bm_ctx_new(blogcfile ? blogcfile : "blogcfile", &err);
+ ctx = bm_ctx_new(NULL, blogcfile ? blogcfile : "blogcfile", &err);
if (err != NULL) {
bc_error_print(err, "blogc-make");
rv = 3;