Replies: 1 comment
-
Oh interesting, I don't know if I've ever seen it give more than one like that. If you're interested, I'd love a PR to trim this to only show the first one! similar to what CRA is doing in your second example: // dev.ts
const ips = Object.values(os.networkInterfaces())
.reduce((every: os.NetworkInterfaceInfo[], i) => [...every, ...(i || [])], [])
.filter((i) => i.family === 'IPv4' && i.internal === false)
.map((i) => i.address);
+ const remoteIp = ips[0]; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
After running a snowpack project on a Windows 10 machine, I got the following output
It would be nice if only some of the URLs were outputted. For example this is the output I get in a
create-react-app
projectBeta Was this translation helpful? Give feedback.
All reactions