Skip to content

Settings and activity

1 result found

  1. 4 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    The User commented  · 

    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";
    # };
    };
    };
    };