Skip to content

http-server runing on project root folder path without any reasons #862

Open
@StephaneBonilla

Description

@StephaneBonilla

Environment Versions

  1. Windows 11
  2. Node version: v18.16.1
  3. http-server version: v14.1.1

Steps to reproduce

I have a project with a dist folder. When i open a terminal in that folder and run http-server, it use the project root folder instead of the folder where i opened the terminal.

Expected result

http-server root path should use the path of the folder i opened the terminal

Actual result

Http-server root path is using the project root path.

Other information

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    stalesusSomething here doesn't seem right. A minimal reproduction would help.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions