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
If I set baseDir to ./SEV010, it will load the index.html from that sub-folder, but then how do I get live-server to utilize the node_modules sub-folder in the root folder?
Bug repro steps
Please give us an isolated way to reproduce the behavior (example: GitHub repository with code that anyone can clone to observe the problem, or a Dockerfile that replicates your environment):
Environment
lite-server version:
nodejs version:
npm version:
OS type/version:
The text was updated successfully, but these errors were encountered:
Before you open an issue, please check if a similar issue already exists or has been closed before.
A descriptive title
The behavior you expect to see, and the actual behavior...
For feature requests, a description of the problem you're trying to solve, including why you think this is a problem.
I am trying to configure live-server to use the index.html and code from a subfolder off of the root folder
bs-config.json
{
"port": 3000,
"files" : [ "./SEC010/*.{js, html}" ],
"open" : "/SEC010/index.html",
"server": {
"baseDir": "./"
},
"http" : true,
"browser": ["chrome"]
}
If I set baseDir to ./SEV010, it will load the index.html from that sub-folder, but then how do I get live-server to utilize the node_modules sub-folder in the root folder?
Bug repro steps
Please give us an isolated way to reproduce the behavior (example: GitHub repository with code that anyone can clone to observe the problem, or a Dockerfile that replicates your environment):
Environment
lite-server
version:nodejs
version:npm
version:The text was updated successfully, but these errors were encountered: