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

Reload HTML Preview (manually Refresh, or even better automatically) #5549

Open
vorburger opened this issue Jun 20, 2019 · 2 comments
Open
Labels
enhancement issues that are enhancements to current functionality - nice to haves filesystem issues related to the filesystem

Comments

@vorburger
Copy link

I gathered that there is no "JUnit Runner" (#3003), so I just ./gradlew --continuous test.

Then I Open With > Preview the build/reports/tests/test/index.html. Then I fix a broken test.

Now I have to reload that index.html ... currently by closing and clicking to open again.

In an ideal world, it would be neat if there was a Reload icon button in that tab.

Or in a perfect world, if it would detect changed files and reload them.

#74 seems to say this was done - does it need to be activated by manual config, if not by default?

#4838 looks related, but its comments (and linked VSC issue) are about renames - this is simpler.

@akosyakov @svenefftinge

@svenefftinge
Copy link
Contributor

Auto refreshing the preview is based on watched files and we exclude what's in .gitignore by default.

@akosyakov akosyakov added question user / developer questions enhancement issues that are enhancements to current functionality - nice to haves filesystem issues related to the filesystem and removed question user / developer questions labels Jul 1, 2019
@akosyakov
Copy link
Member

Should not we always watch individual files and apply .gitignore only to dir folders? I don't see how watching a single file can affect performance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement issues that are enhancements to current functionality - nice to haves filesystem issues related to the filesystem
Projects
None yet
Development

No branches or pull requests

3 participants