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

Make it easier to enable new phoenix_live_reload features #5799

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rhcarvalho
Copy link
Contributor

Add commented-out JS code to enable in development:

  1. Server logs on browser console
  2. Browser click to open component on code editor

This should make those useful features more discoverable and easier to enable for new apps.

Code is based on:

See also:

https://fly.io/phoenix-files/phoenix-dev-blog-server-logs-in-the-browser-console/

Add commented-out JS code to enable in development:

1. Server logs on browser console
2. Browser click to open component on code editor

This should make those useful features more discoverable and easier to
enable for new apps.

Code is based on:

https://github.com/phoenixframework/phoenix_live_reload?tab=readme-ov-file#streaming-serving-logs-to-the-web-console
https://github.com/phoenixframework/phoenix_live_reload?tab=readme-ov-file#jumping-to-heex-function-definitions

See also:

https://fly.io/phoenix-files/phoenix-dev-blog-server-logs-in-the-browser-console/
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

Successfully merging this pull request may close these issues.

None yet

1 participant