posts
This is a list of posts in reverse chronological order by their original date of posting. If a post has been updated since then, its most recent update date is listed in its frontmatter, but if you want to see the updates broken out separately, you should visit chrono.
Stop "Allow Incoming Connections?" Popups When Developing on macOS
- macos
- tip
- development
- meta
These days, I'm back to developing almost entirely on macOS. When I was working
on the implementation of this site, it was starting to get quite grating that
every time I ran cargo run
, macOS would pop up a window that says "Allow
Incoming Connections?". I had to click "Allow" every single time I changed the
code and re-ran it.
In general, I know why this happens: the firewall is enabled, and Cargo doesn't sign executables, so every time I produced a new executable, it was nEw AnD sCaRy. Adding the executable to the list of trusted apps doesn't help for exactly that reason (in fact, that's all that clicking "Allow" does). The problem is, I want the firewall to be enabled.