← Have an idea? Share it! Settings and activity 1 result found Elixir / Phoenix Template 4 votes Vote Vote Vote We're glad you're herePlease sign in to leave feedback Signed in as (Sign out) Close Close Vote We’ll send you updates on this idea 2 comments · General » Project Templates · Delete… · Admin → How important is this to you? Not at all You must login first! Important You must login first! Critical You must login first! We're glad you're herePlease sign in to leave feedback Signed in as (Sign out) Close Close An error occurred while saving the comment The User commented · Sep 27, 2024 · Edit… · Delete… Two changes: (Sidebar preview is fixed, but that hot reload is not working inside the editor but in new tab is) 1. At config/dev.exs import Config config :hello, HelloWeb.Endpoint, http: [ip: {0, 0, 0, 0}, port: 9002], .... 2. change/add idx.dev previews = { enable = true; previews = { web = { command = ["mix" "phx.server"]; manager = "web"; # env = { # PORT = "9002"; # }; }; }; }; Save Submitting...
Two changes:
(Sidebar preview is fixed, but that hot reload is not working inside the editor but in new tab is)
1. At config/dev.exs
import Config
config :hello, HelloWeb.Endpoint,
http: [ip: {0, 0, 0, 0}, port: 9002],
....
2. change/add idx.dev
previews = {
enable = true;
previews = {
web = {
command =
["mix" "phx.server"];
manager = "web";
# env = {
# PORT = "9002";
# };
};
};
};