mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-28 22:30:44 -05: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
|
||||
. 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
|
||||
|
||||
Reference in New Issue
Block a user