From 1e199827feefec8d80e67871bf29cf0df779efb2 Mon Sep 17 00:00:00 2001 From: Jeff Triplett Date: Thu, 8 Apr 2021 22:06:32 -0500 Subject: [PATCH] :gear: Updates configs --- justfile | 7 ++++--- modd.conf | 20 ++++++++++++++++++++ 2 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 modd.conf diff --git a/justfile b/justfile index a02fd26..1ac6a3b 100644 --- a/justfile +++ b/justfile @@ -8,9 +8,13 @@ TAILWIND_CSS_VERSION := "2.1.1" @build: just toc + bundle exec jekyll build @lint: npx awesome-lint README.md +@serve: + modd --file=modd.conf + bundle exec jekyll serve --drafts --watch --port 8000 @static: JEKYLL_ENV=production \ @@ -25,8 +29,5 @@ TAILWIND_CSS_VERSION := "2.1.1" --output ./assets/development.css \ -w -@serve: - bundle exec jekyll serve --drafts --watch --port 8000 - @toc: npx doctoc README.md diff --git a/modd.conf b/modd.conf new file mode 100644 index 0000000..5381670 --- /dev/null +++ b/modd.conf @@ -0,0 +1,20 @@ +{ + # prep: "killall ruby" + daemon +sigterm: "bundle exec jekyll serve --drafts --watch --port 4000" +} + +# DEVD proxy with livereload listening on port 8000 + +**/*.css +**/*.html +**/*.js +!src/** +{ + daemon: "devd --modd -l http://localhost:4000" +} + +# src/*.css +# src/*.js +# { +# prep +onchange: "just static" +# }