Merge pull request #4060 from alphagov/watch-frontend

Add Makefile command to watch for frontend changes
This commit is contained in:
Chris Hill-Scott
2021-11-04 16:45:10 +00:00
committed by GitHub

View File

@@ -28,6 +28,10 @@ bootstrap: generate-version-file ## Set up everything to run the app
npm install
. environment.sh; npm run build
.PHONY: watch-frontend
watch-frontend: ## Build frontend and watch for changes
. environment.sh; npm run watch
.PHONY: run-flask
run-flask: ## Run flask
. environment.sh && flask run -p 6012