Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support baseDir as CLIs first argument #135

Open
abraham opened this issue May 1, 2018 · 0 comments
Open

Support baseDir as CLIs first argument #135

abraham opened this issue May 1, 2018 · 0 comments

Comments

@abraham
Copy link

abraham commented May 1, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant