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

[Bug]: 'grr serve -S' without watch does not work #492

Open
mikaello opened this issue Sep 12, 2024 · 1 comment
Open

[Bug]: 'grr serve -S' without watch does not work #492

mikaello opened this issue Sep 12, 2024 · 1 comment
Assignees

Comments

@mikaello
Copy link
Contributor

Grizzly Version

v0.4.7

Expected Behavior

It should work to run grr serve -S '<some command>' . without having to activate watch mode.

Actual Behavior

No dashboards are loaded in Grizzly UI. If I add -w it works (even without touching any other files).

Steps to Reproduce

  1. Export GRAFANA_URL and GRAFANA_TOKEN
  2. git clone https://github.com/grafana/grafana-foundation-sdk
  3. cd grafana-foundation-sdk/examples/typescript/red-method
  4. npm install
  5. grr serve -S 'npm run -s dev' .

No dashboards are available:

Image

If I enable watch mode (-w) in the command, the dashboard appears:

grr serve -w -S 'npm run -s dev' .:

Image

@mikaello mikaello added the bug Something isn't working label Sep 12, 2024
@malcolmholmes
Copy link
Contributor

Hmm, this is actually what has been implemented. But you're right, -S actually requires -w - without -w, Grizzly will be started with no resources, which is what you are seeing.

@K-Phoen K-Phoen self-assigned this Sep 17, 2024
@Duologic Duologic removed the bug Something isn't working label Nov 15, 2024
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

4 participants