⚙️ Updates configs

This commit is contained in:
Jeff Triplett 2021-04-08 22:06:32 -05:00
parent 0da034e0fe
commit 1e199827fe
No known key found for this signature in database
GPG Key ID: BD6DAFC4D1A381EA
2 changed files with 24 additions and 3 deletions

View File

@ -8,9 +8,13 @@ TAILWIND_CSS_VERSION := "2.1.1"
@build: @build:
just toc just toc
bundle exec jekyll build
@lint: @lint:
npx awesome-lint README.md npx awesome-lint README.md
@serve:
modd --file=modd.conf
bundle exec jekyll serve --drafts --watch --port 8000
@static: @static:
JEKYLL_ENV=production \ JEKYLL_ENV=production \
@ -25,8 +29,5 @@ TAILWIND_CSS_VERSION := "2.1.1"
--output ./assets/development.css \ --output ./assets/development.css \
-w -w
@serve:
bundle exec jekyll serve --drafts --watch --port 8000
@toc: @toc:
npx doctoc README.md npx doctoc README.md

20
modd.conf Normal file
View File

@ -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"
# }