Skip to content

Instantly share code, notes, and snippets.

@kjunichi
Created February 11, 2018 03:15
Show Gist options
  • Save kjunichi/64eaa48964a31f81eace5d322580929b to your computer and use it in GitHub Desktop.
Save kjunichi/64eaa48964a31f81eace5d322580929b to your computer and use it in GitHub Desktop.

Node.js fs.watch

ファイルを消しても、追加しても、renameでeventが飛んで来る

IFTTTの連携では、ファイル名に英語文字列の日付が付与することが多くの場合、可能であり、 この為、Node.jsで英語の日付と実日付の比較ができると、この問題に対応できる。

関連

アクセス解析タグ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment