mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-04-25 03:30:53 -04:00
When editing CSS, Javascript or other assets it’s useful to not have to run `gulp` manually to rebuild things after making changes. This is why we have the `npm watch` script. However for the paths to fonts to resolve properly when running locally it needs the `NOTIFY_ENVIRONMENT` variable set to `development`. Having to remember to do both of these steps every time is awkward. For a one-off build of the frontend we added a command to set `NOTIFY_ENVIRONMENT` to the appropriate value in https://github.com/alphagov/notifications-admin/pull/4049 This commit does the same thing for the watch task, by encapsulating both steps in one `make` command. Happy to take alternative suggestions on command naming.
5.9 KiB
5.9 KiB