Skip to content

ファイルの作成/削除を監視し結果を WebSocket で接続されているクライアントに送信するサーバー

Notifications You must be signed in to change notification settings

youcune/okan-alert-notification-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

okan-alert-notification-server

WebSocket の接続が確立されているときに、指定パスに、

  • ファイルが作成された場合 ALERT
  • ファイルが削除された場合 OK

という文字列を送信するサーバーです。

環境構築

$ git clone https://github.com/youcune/okan-alert-notification-server.git
$ cd okan-alert-notification-server
$ npm install
$ node app.js /path/to/the/file/to/watch

About

ファイルの作成/削除を監視し結果を WebSocket で接続されているクライアントに送信するサーバー

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published