-
Notifications
You must be signed in to change notification settings - Fork 250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make it easier to develop local changes to js #33
Comments
For anyone stumbling on this thread, for me the most convenient way to make local dev to js files is to run the following script on brax's root folder :
Then is is a simple matter of :
|
hi @o-Oscar , You got a hint ? |
FWIW, I've been dumping viewer HTML explicitly using |
Ive got the same issue as described here. |
Nevermind, worked after more permutations; not sure which ones |
html.io
currently refers to a static cdn for the js, which is awkward for trying out changes to the js itself.We have a hacky example of local dev of js here: https://colab.sandbox.google.com/gist/erikfrey/eb8b138dce06f7c2135e9d9690a09a8e/local_dev.ipynb#scrollTo=NaJDZqhCLovU
A proper solution might be to introduce an arg to html.render that takes in a different static path, and that starts up a temp webserver.
The text was updated successfully, but these errors were encountered: