framerjs-cli icon indicating copy to clipboard operation
framerjs-cli copied to clipboard

Feature: instead of printing "localhost:3000", print true IP address for other devices (edited)

Open WestonThayer opened this issue 9 years ago • 3 comments

Same as Framer Studio has -- being able to prototype without friction on a phone tends to help me produce higher quality prototypes.

Does anyone have experience with this? Perhaps there's a fairly easy way to do this with an npm module?

WestonThayer avatar Sep 23 '15 18:09 WestonThayer

This actually would be super easy to implement. It already works. If you just get your local IP address, then type that into another device on the same network, it will load/live reload. If we just changed out the "localhost:3000" output to "192.68.10:3000", or whatever your actual IP address is, it would be more clear. This is the behavior that Framer Studio has.

WestonThayer avatar Oct 08 '15 18:10 WestonThayer

  • +1

jordandobson avatar Oct 09 '15 19:10 jordandobson

Good thinking! This could be done pretty easily with sindresorhus/internal-ip.

peteschaffner avatar Oct 10 '15 13:10 peteschaffner