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

Support baseDir as CLIs first argument

Open abraham opened this issue 7 years ago • 0 comments

I would like for it to be easier to set the baseDir at runtime without having to remember the exact flag name and casing of --baseDir.

Usage would be:

$ lite-server dist

and it would behave the same as:

$ lite-server --buildDir="dist"

I'm looking at lite-server to replace http-server for the better SPA support but the interface is less convenient.

I'd be happy to work on an initial implementation.

abraham avatar May 01 '18 15:05 abraham