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:
Родитель
60f67bf553
Коммит
bf89189609
|
@ -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",
|
||||
|
|
Загрузка…
Ссылка в новой задаче