(If you’re on a Mac and network like mine.)
Run webpack-dev-server with --host 0.0.0.0
— this lets the server listen for requests from the network, not just localhost.
Find your computer’s address on the network. In terminal, type ifconfig
and look for the en1
section or the one with something like inet 192.168.1.111
In your mobile device on the same network, visit http://192.168.1.111:8080
and enjoy hot reloading dev bliss.