![]() ![]() I find the way meteor + create-react-app work more Thx for the -H flag trick :slight_smile: I suspect this is working as intended, but having that flag documented would be useful Should I open an issue on the gatsby repo? Yeah so gatsby build then gatsby serve does work □īut my use case is development mode and test on my mobile phone I'm not familiar with -H flag, which command should I add it to? I can try it real fast but i'm pretty sure it worksĪnd it was always working on create-react-app and others tools Hum so it's supposed to work, because I've tried on multiple networks on multiple occasions and I never was able to connect to the development server from a different device on my network So it should be accessible to the network devip (npm package) and then use -H $YOURIP$ -p $YOURPORT$ I'm interested in that feature during development, but gatsby develop doesn't open a network accessible port Only during development or with "gatsby serve" Chat detailsĭoes gatsby develop (v1 or v2) can bind a port so that its accessible from the local network using $MY_COMPUTER_IP:8000? My opinion is also that Gatsby should behave like other build tools (create-react-app or Meteor) and have a development server that is network accessible. We had a discussion about this on the Discord chat yesterday, and apparently binding only the local IP is a design decision.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |