Skip to content
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

Import maps are not updated in incremental reload for preview #83

Closed
cinxmo opened this issue Oct 31, 2023 · 4 comments
Closed

Import maps are not updated in incremental reload for preview #83

cinxmo opened this issue Oct 31, 2023 · 4 comments
Labels
bug Something isn’t working

Comments

@cinxmo
Copy link
Contributor

cinxmo commented Oct 31, 2023

Steps to reproduce:

  1. Create a new page blah.md in docs and open http://127.0.0.1:3000/blah.
  2. In a js cell, type Inputs.table(<some data>):
```js
display(Inputs.table([{a: 1, b: 2}]));
```
  1. In the browser, notice an error message that says "cannot dynamically load..."
  2. Refresh the page and the error message goes away

Import maps should be updated without having to refresh the page

@cinxmo cinxmo added the bug Something isn’t working label Oct 31, 2023
@cinxmo
Copy link
Contributor Author

cinxmo commented Oct 31, 2023

@Fil does this ticket capture the steps correctly? Thanks!

@Fil
Copy link
Contributor

Fil commented Oct 31, 2023

No need to delete anything:

  1. Create a new page blah.md in docs/, type # Blah, save, open http://127.0.0.1:3000/blah
  2. type
```js
display(Inputs.table([{a: 1, b: 2}]));
```

the browser updates its page with the error message; the import map is incomplete. (Reload, the message goes away.)

@mootari
Copy link
Member

mootari commented Oct 31, 2023

Related: #14

@mbostock
Copy link
Member

mbostock commented Nov 4, 2023

Duplicate of #14.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn’t working
Projects
None yet
Development

No branches or pull requests

4 participants