Skip to content

Where is the index content shown? #636

Description

@pflegende

Describe the bug

why does the server-snippet doesnt know the index.html?

is only THIS folder available.
Why does it not tuch the file for spreading the word?

Link to the blitz that caused the error

https://stackblitz.com/edit/http-server-egur84?file=README.md

Steps to reproduce

  1. copy the server.js cp server.js server2.js
  2. changing the message inside the serverscript to "tach ...."
  3. stop server by C-c, ok stopped
  4. RUN: npm install && npx nodemon server2.js
  5. works fine, new updated message
  6. added a index.html (very light) only consisting 2 tags and text
  7. stop server by C-c, ok stopped
  8. RUN: npm install && npx nodemon server2.js
  9. waiting for new output (from index-inside-text) -> Nothing
  10. the "tach ..." message continued

Does you have some hint for how realising the conection between index.html and server2.js?

Expected behavior

Want see the content of index.html

Parity with Local

  • I have run the project in my local machine and I could not reproduce the issue.

Screenshots

Opera Momentaufnahme_2022-03-18_234253_stackblitz com

Platform

Browser name  = Chrome
Full version  = 98.0.4758.102
Major version = 98
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36 OPR/84.0.4316.21 (Edition 360-1)
performance.memory = {
  "totalJSHeapSize": 72549020,
  "usedJSHeapSize": 68219424,
  "jsHeapSizeLimit": 540016640
}
Hash = 6495216afc69f31e3592b868d6f1407d8619435d

Additional context


we are looking forward also with a monitoring Wiki for your interesting project.


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions