vega / editor

Editor/IDE for Vega and Vega-Lite
https://vega.github.io/editor/
BSD 3-Clause "New" or "Revised" License
165 stars 89 forks source link

Can't use local version of `vega-transforms` in editor #1390

Closed julieg18 closed 9 months ago

julieg18 commented 9 months ago

I've been trying to run my local version of vega/packages/vega-transforms but the changes are not reflected in the localhost editor.

I've tried linking the vega package, per the readme:

  1. yarn build in vega
  2. yarn link in vega/packages/vega
  3. yarn && yarn link vega && yarn build && yarn start in editor

I've also tried linking the vega-transforms in the editor directory or in the packages/vega directory but neither worked. Is there a bug or am I misunderstanding how running a local version is supposed to work?

domoritz commented 9 months ago

Thanks for the clear bug report. Unfortunately after updating to Vite, there is an issue with linking. You can either downgrade to a specific version before the change or manually restart the server after making a change to the source library. See https://github.com/vega/editor/issues/1346 for details.