From 2fa1aa4cc7f4b300fd96908c2b229230926589d9 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Thu, 16 Dec 2021 10:43:24 -0800 Subject: [PATCH] Adds bw-dev command --- bw-dev | 3 +++ complete_bwdev.sh | 1 + 2 files changed, 4 insertions(+) diff --git a/bw-dev b/bw-dev index cfe8747f..a76bb828 100755 --- a/bw-dev +++ b/bw-dev @@ -130,6 +130,9 @@ case "$CMD" in black) makeitblack ;; + prettier) + npx prettier --write bookwyrm/static/js/*.js + ;; populate_streams) runweb python manage.py populate_streams $@ ;; diff --git a/complete_bwdev.sh b/complete_bwdev.sh index b9cd7420..e7a036cc 100644 --- a/complete_bwdev.sh +++ b/complete_bwdev.sh @@ -20,6 +20,7 @@ update_locales build clean black +prettier populate_streams populate_suggestions generate_thumbnails