I'm using the lite-server to develop an Angular application. I have the following project structure, very simple:
build/
foo/
index.html (references foo.js script)
bar/
index.html (references bar.js script)
foo.js
bar.js
bsconfig.json
What a I want to do is to access localhost:8000/foo
and get foo/index.html
loading foo.js
script as well as access localhost:8000/bar
and get bar/index.html
loading bar.js
.
I've read the Browsersync options documentation and tried configuring the bs-config.json
file using routes
but I couldn't get it working.