Skip to content

run_dev() shows duplicated "Loading" messages #1191

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

Open
howardbaik opened this issue Apr 2, 2025 · 3 comments
Open

run_dev() shows duplicated "Loading" messages #1191

howardbaik opened this issue Apr 2, 2025 · 3 comments

Comments

@howardbaik
Copy link

When I run run_dev() on my golem-demo project, I see duplicated messages:

> golem:::run_dev()
ℹ Loading golem-demo
ℹ Loading golem-demo

Is this a bug or is there a specific reason for the duplication?

@VincentGuyader
Copy link
Member

VincentGuyader commented Apr 6, 2025

I’m able to reproduce the issue
a simple call to golem::document_and_reload()
triggers the double "loading geolem-demo" message.
The first one comes from roxygen2::roxygenise and the second from pkgload::load_all.

This may have always been the case, and it doesn’t seem to be something blocking or worth optimizing.

@howardbaik
Copy link
Author

Thanks for looking into this Vincent. I just felt like the duplicated "loading golem-demo" message was confusing to me, and made me feel like I ran the same command twice.

Would it be helpful if I submit a PR that silences one of these messages?

@ColinFay
Copy link
Member

ColinFay commented May 2, 2025

Hey @howardbaik,

Yest, this has been a behavior since the beginning.

I would be happy to review a PR if you feel like doing one :)

Best,
Colin

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

3 participants