You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
StephaneBonilla
changed the title
http-server runing on root folder path without any reasons
http-server runing on project root folder path without any reasons
Jul 20, 2023
I encountered the same problem on linux. And the reason for me is the permission. After I added 777 permission recursively to the dist folder, It worked by running the http-server under the dist directory.
Environment Versions
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
The text was updated successfully, but these errors were encountered: