Created
October 28, 2016 16:55
-
-
Save jfcomeau/9a9d949fbddc7a04f5aa9d17ea4ff427 to your computer and use it in GitHub Desktop.
Jekyll serve using local IP (useful to test on multiple devices a same local network)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jekyll s --host $(awk '/inet / && $2 != "127.0.0.1"{print $2}' <(ifconfig)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment