live-server icon indicating copy to clipboard operation
live-server copied to clipboard

Should entry file flag take precedence over the index file?

Open simurgh9 opened this issue 2 years ago • 0 comments

Issue description

If the directory has a test.html and index.html and we run,

live-verser --entry-file=test.html

I expect test.html to open but index.html does. Is this by design? Should this not be the other-way around? I. e., the --entry-file=test.html flag should take precedence over the default behaviour?

Software details

  • OS: MacOS Ventura
  • Browser (if browser related): Brave
  • Node.js version: 20.3.1
  • live-server version: 1.2.2

simurgh9 avatar Jul 14 '23 06:07 simurgh9