BrowserSync を使うとファイル内容の変更を監視してブラウザを自動でリロードできる。 また、Grunt や Gulp といったタスクランナーとのインテグレーションも行われている。 まずは NPM で BrowserSync をインストールする。 $ npm install -g browser-sync 既定のブラウザには LiveReload のプラグインをインストールしておく。 例えば Chrome なら以下で良さげ。 https://chrome.google.com/webstore/detail/livereload/jnihajbhpnppcggbcgedagnkighmdlei 監視対象とする HTML を用意する。 $ cat << EOF > index.html <!doctype html> <html lang="ja"> <head> <meta char