mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 12:51:55 +00:00
Add WEBPACK_DEV_SERVER to frontend procs in sg.config.yaml (#19923)
Fix `sg start` throwing a 500 error because the paths to the assets in `app.html` were wrong.
This commit is contained in:
parent
32f10a208b
commit
f412e00905
@ -41,6 +41,8 @@ commands:
|
||||
env:
|
||||
CONFIGURATION_MODE: server
|
||||
USE_ENHANCED_LANGUAGE_DETECTION: false
|
||||
# frontend processes need this to be so that the paths to the assets are rendered correctly
|
||||
WEBPACK_DEV_SERVER: 1
|
||||
watch:
|
||||
- internal
|
||||
- cmd/frontend
|
||||
@ -58,6 +60,8 @@ commands:
|
||||
ENTERPRISE: 1
|
||||
SITE_CONFIG_FILE: '../dev-private/enterprise/dev/site-config.json'
|
||||
EXTSVC_CONFIG_FILE: '../dev-private/enterprise/dev/external-services-config.json'
|
||||
# frontend processes need this to be so that the paths to the assets are rendered correctly
|
||||
WEBPACK_DEV_SERVER: 1
|
||||
watch:
|
||||
- internal
|
||||
- enterprise/internal
|
||||
|
||||
Loading…
Reference in New Issue
Block a user