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

add option to open specific files in the browser #254

Open
RonnyPfannschmidt opened this issue Oct 1, 2021 · 0 comments
Open

add option to open specific files in the browser #254

RonnyPfannschmidt opened this issue Oct 1, 2021 · 0 comments

Comments

@RonnyPfannschmidt
Copy link
Contributor

context, i'm using live-reload to auto-update views on reveal.js presentations in markdown files

so i have a directory tree like

repo:
-  assets: 
      | git submodule pointing to reveal.js
-  mytalk:
   - mytalk.html
   - mytalk.md
- my-othertalk: 
    ...
- tox.ini

where tox.ini just spells something like

[tox]
skipsdist=true
envlist=live
[testenv:live]
skip_install=true
deps =
   livereload
commands =
 	livereload {{posargs}}

i would like to be able to invoke something like
tox -- --open-in-browser mytalk/mytalk.html

to have live-reload open $hostname:$randomport/mytalk/mytalk.html
instead of going to the server and adding the path there

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