プログラミング

とりあえず静的ファイルのサーバーが作りたいときに使えるserve

# ubuntu 16.xx ( WSL compatible )

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn

export PATH="$PATH:$(yarn global bin)"
echo 'export PATH="$PATH:$(yarn global bin)"' >> ~/.bashrc

yarn global add serve
serve

Installation | Yarn
zeit/serve: Static file serving and directory listing