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

Run as python -m livereload #245

Open
zommerfelds opened this issue Apr 12, 2021 · 1 comment
Open

Run as python -m livereload #245

zommerfelds opened this issue Apr 12, 2021 · 1 comment

Comments

@zommerfelds
Copy link

I'm currently struggling to run livereload on my Windows system (I'm more of a Linux user) without having to specify the full path in AppData.

I realized it would be useful to be able to run this packages as python -m livereload. Many other packages support this, like python -m http.server or python -m pip.

This probably wouldn't be hard to do. What do you think?

Not sure about the status of this project, but I could try to create a PR for this.

@zommerfelds
Copy link
Author

My workaround:

python -c "import livereload.cli as l; l.main()" -p 8000 --host 0.0.0.0 -t build -w 1

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