Can't see `nerves.local` on network anymore

(This is ported from an unrelated GitHub issue that I didn’t want to clog up)

I currently have a device that is just wlan0 network setup and have suddenly lost the ability to get to it via nerves.local (although IP address still works fine)

At first it would just last a few minutes but then I could connect as normal. Now I’m a week in and still can’t see nerves.local on my network from MacOS. Although not sure if that is network setup or my configuration…

Portion of my current config

config :nerves_init_gadget,
  ifname: "wlan0",
  address_method: :dhcp,
  node_host: :mdns_domain,
  ssh_console_port: 22

  [ssid, psk] = File.read!(".wlan_settings") |> String.split()

config :nerves_network, :default,
  wlan0: [
    ssid: ssid,
    psk: psk,
    key_mgmt: :"WPA-PSK"
  ]

case Mix.env do
  :dev ->
    config :nerves_init_gadget,
      mdns_domain: "nerves-dev.local",
      node_name: "nerves-dev"

  :prod ->
    config :nerves_init_gadget,
      mdns_domain: "nerves.local",
      node_name: "nerves"
end