<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hogem</author_name>
  <author_url>https://blog.hatena.ne.jp/hogem/</author_url>
  <blog_title>うまいぼうぶろぐ</blog_title>
  <blog_url>https://hogem.hatenablog.com/</blog_url>
  <categories>
    <anon>linux</anon>
  </categories>
  <description>sphinxでrstファイルを更新する度にmake htmlするのが面倒なので、inotifyでsourceディレクトリ(*.rst, conf.py 保存ディレクトリ)の更新を検知したら、make htmlするようにバックグラウンドで回しておく。inotifywatchが入ってなかったらapt/yum でinotify-tools を入れる。 $ while inotifywatch -e modify ./source ; do make html; done 正確には、このコマンドだとrstの更新をしてなくてもmake htmlが走ってしまいます。sourceディレクトリの更新を監視して…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhogem.hatenablog.com%2Fentry%2F20111103%2F1320377069&quot; title=&quot;inotifywait/inotifywatchでファイルシステムの変更イベントを監視してコマンド実行する - うまいぼうぶろぐ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-11-03 12:24:29</published>
  <title>inotifywait/inotifywatchでファイルシステムの変更イベントを監視してコマンド実行する</title>
  <type>rich</type>
  <url>https://hogem.hatenablog.com/entry/20111103/1320377069</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
