Skip to content

Commit

Permalink
File-watch-reduild as it was
Browse files Browse the repository at this point in the history
  • Loading branch information
mostlyobvious committed Aug 1, 2024
1 parent d0dec86 commit f192f23
Show file tree
Hide file tree
Showing 3 changed files with 261 additions and 12 deletions.
12 changes: 11 additions & 1 deletion railseventstore.org/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,18 @@ build: ## Output static files (production)
@npm run build
.PHONY: build

dev: ## Run server (development)
serve:
@npm run serve
.PHONY: serve

watch:
@npx chokidar-cli "docs/**/*.md" \
-c "make build" \
--initial
.PHONY: watch

dev: ## Run server (development)
@$(MAKE) -j2 watch serve
.PHONY: dev

include ../support/make/help.mk
260 changes: 249 additions & 11 deletions railseventstore.org/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions railseventstore.org/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"devDependencies": {
"@docusaurus/module-type-aliases": "3.4.0",
"@docusaurus/types": "3.4.0",
"chokidar-cli": "^3.0.0",
"tailwindcss": "^3.4.5"
},
"browserslist": {
Expand Down

0 comments on commit f192f23

Please sign in to comment.