You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Added a theme selector to settings menu when there are multiple themes
available
- IrisGrid and Monaco now respond dynamically to selected theme change
- Misc moving of theme utils
- Added vite config for local plugin dev
resolves#1660
Copy file name to clipboardExpand all lines: README.md
+39
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,45 @@ If your DHC address is different from the default `http://localhost:10000`, edit
52
52
VITE_PROXY_URL=http://<dhc-host>:<port>
53
53
```
54
54
55
+
## Local Plugin Development
56
+
The plugins repo supports [serving plugins locally](https://github.com/deephaven/deephaven-plugins/blob/main/README.md#serve-plugins). DHC can be configured to proxy `js-plugins`requests to the local dev server by setting `VITE_JS_PLUGINS_DEV_PORT` in `packages/code-studio/.env.development.local`.
57
+
58
+
e.g. To point to the default dev port:
59
+
60
+
```
61
+
VITE_JS_PLUGINS_DEV_PORT=4100
62
+
```
63
+
64
+
## Local Vite Config
65
+
If you'd like to override the vite config for local dev, you can define a `packages/code-studio/vite.config.local.ts` file that extends from `vite.config.ts`. This file is excluded via `.gitignore` which makes it easy to keep local overrides in tact.
66
+
67
+
The config can be used by running:
68
+
69
+
`npm run start:app -- -- -- --config=vite.config.local.ts`
70
+
71
+
For example, to proxy `js-plugins` requests to a local server, you could use this `vite.config.local.ts`:
We have a pre-defined launch config that lets you set breakpoints directly in VSCode for debugging browser code. The `Launch Deephaven` config will launch a new Chrome window that stores its data in your repo workspace. With this setup, you only need to install the React and Redux devtool extensions once. They will persist to future launches using the launch config.
0 commit comments