Skip to content

Node.js SSE Sandbox Shows Stale Server Response #4807

@karlhorky

Description

@karlhorky

🐛 bug report

Description of the problem

The sandbox below shows stale server response. The src/index.js file has been moved to index.js (and the main and start in the package.json file updated, including the nodemon src/index.js)

https://codesandbox.io/s/dark-glade-dq2t2?file=/index.js

Screen Shot 2020-09-03 at 10 38 31

Repro steps:

  1. Start a new Node.js sandbox
  2. Drag the src/index.js out of the src directory into the root
  3. Update the paths in the package.json in both main and start
  4. Change the content in the index.js file
  5. See stale content

How has this issue affected you? What are you trying to accomplish?

I want to have the index.js file in the root in a Node.js sandbox.

Trying to create a demo for Shiki: shikijs/shiki#82 (comment)

The errors are causing low confidence in the reproducibility and stability of the sandbox.

Link to sandbox: see above.

Your Environment

Software Name/Version
Сodesandbox b005252
Browser Chrome 85.0.4183.83
Operating System macOS Catalina 10.15.6

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions