Always build experiment data before npm run dev

This won't re-build it if `nimbus.yaml` changes, but at least it
won't break if you haven't run it before, or if it's changed since
the last time you started the dev server.
This commit is contained in:
Vincent 2024-04-30 16:06:40 +02:00 коммит произвёл Vincent
Родитель 60f67bf553
Коммит bf89189609
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -8,7 +8,7 @@
},
"type": "module",
"scripts": {
"dev": "next dev --port=6060",
"dev": "npm run build-nimbus && next dev --port=6060",
"dev:cronjobs": "tsx --tsconfig tsconfig.cronjobs.json src/scripts/cronjobs/*.tsx",
"dev:nimbus": "node --watch-path config/nimbus.yaml src/scripts/build/nimbusTypes.js",
"build": "npm run get-location-data && npm run build-glean && npm run build-nimbus && next build && npm run build-cronjobs",