serve starts a simple temporary static file server in your current directory and prints your IP address to share with colleagues
Note: Windows and Linux users who have
serve
v0.3.0 don't need to update to this version, because it only fixes a bug in v0.3.1 and v0.3.1 only contained a bugfix for macOS.
serve -v
Note: This release only contains a bugfix for macOS. There's no need to update from v0.3.0 to this version on Windows or Linux.
serve
crashes at start on macOS due to a bug in UPX, which is used to compress the executable file (issue #27)
-d
flag and the argument is not a directory, the directory doesn't exist or the directory is not readableserve -h
lead to exit code 2 instead of 0/share
to /srv
, which is a common directory for serving files-d
flag from CMD
to ENTRYPOINT
, leading to fewer problems when using the Docker container with additional flags