<commit_before># cool server live reload script from
# https://medium.com/@olebedev/live-code-reloading-for-golang-web-projects-in-19-lines-8b2e8777b1ea
PID = /tmp/rklotz.pid

vendor:
	@gb vendor restore
	@bower install

build:
	@echo "Building..."
	@gb build

serve:
	@make restart
	@fswatch -o -r ./src/ -r ./templates/ | xargs -n1 -I{}  make restart || make kill

kill:
	@echo ""
	@echo ""
	@echo ""
	@echo "Trying to kill old instance..."
	@kill `cat $(PID)` || true

restart:
	@make kill
	@make build
	@bin/rklotz --env=dev & echo $$! > $(PID)

.PHONY: vendor build serve kill restart<commit_msg>make test task<commit_after># cool server live reload script from
# https://medium.com/@olebedev/live-code-reloading-for-golang-web-projects-in-19-lines-8b2e8777b1ea
PID = /tmp/rklotz.pid

vendor:
	@gb vendor restore
	@bower install

build:
	@echo "Building..."
	@gb build

serve:
	@make restart
	@fswatch -o -r ./src/ -r ./templates/ | xargs -n1 -I{}  make restart || make kill

kill:
	@echo ""
	@echo ""
	@echo ""
	@echo "Trying to kill old instance..."
	@kill `cat $(PID)` || true

restart:
	@make kill
	@make build
	@bin/rklotz --env=dev & echo $$! > $(PID)

test:
	@gb test

.PHONY: vendor build serve kill restart test
{'fraction_non_alphanumeric': 0.16163265306122448, 'fraction_numerical': 0.0163265306122449, 'mean_word_length': 3.3629893238434163, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '268909', 'n_tokens_mistral': 503, 'n_tokens_neox': 480, 'n_words': 137}