johnpapa / johnpapa/lite-server

Support baseDir as CLIs first argument

Open
#135 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.3k
Forks
262
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.