mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 00:07:02 -04:00
Merge pull request #4060 from alphagov/watch-frontend
Add Makefile command to watch for frontend changes
This commit is contained in:
4
Makefile
4
Makefile
@@ -28,6 +28,10 @@ bootstrap: generate-version-file ## Set up everything to run the app
|
|||||||
npm install
|
npm install
|
||||||
. environment.sh; npm run build
|
. environment.sh; npm run build
|
||||||
|
|
||||||
|
.PHONY: watch-frontend
|
||||||
|
watch-frontend: ## Build frontend and watch for changes
|
||||||
|
. environment.sh; npm run watch
|
||||||
|
|
||||||
.PHONY: run-flask
|
.PHONY: run-flask
|
||||||
run-flask: ## Run flask
|
run-flask: ## Run flask
|
||||||
. environment.sh && flask run -p 6012
|
. environment.sh && flask run -p 6012
|
||||||
|
|||||||
Reference in New Issue
Block a user