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

The --no-watch flag doesn't work as expected #107358

Closed
azasypkin opened this issue Aug 2, 2021 · 1 comment · Fixed by #107428
Closed

The --no-watch flag doesn't work as expected #107358

azasypkin opened this issue Aug 2, 2021 · 1 comment · Fixed by #107428
Assignees
Labels
bug Fixes for quality problems that affect the customer experience dev NeededFor:Security Team:Operations Team label for Operations Team

Comments

@azasypkin
Copy link
Member

azasypkin commented Aug 2, 2021

Summary

It seems when you use --no-watch flag (yarn start --no-watch) Kibana never reaches a state when user can interact with it. If you try to access Kibana the page will never load and in logs you'll see a notice from optimizer even though all bundles are ready and Kibana is fully booted.

please hold  optimizer is still bundling so requests have been paused
....
....
server    log   [09:01:34.773] [info][status] Kibana is now available (was degraded)

I admit that --no-watch in dev mode isn't that useful, but I found it handy while developing and testing Kibana interactive setup mode #89287. In this mode Kibana can write user configuration to kibana.yml while it is running. Since kibana.yml is being watched, any changes in it would trigger Kibana restart, and I'd like to avoid that.

// cc @spalger @thomheymann

@azasypkin azasypkin added bug Fixes for quality problems that affect the customer experience dev Team:Operations Team label for Operations Team NeededFor:Security labels Aug 2, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience dev NeededFor:Security Team:Operations Team label for Operations Team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants