Monitoring directory for changes - potential high memory

前端 未结 1 1577
盖世英雄少女心
盖世英雄少女心 2021-02-15 12:34

I\'m currently using a script in nodeJS to monitor a directory (and it\'s sub directories), and do some function once a file has been placed there. In reality, this would be an

1条回答
  •  南方客
    南方客 (楼主)
    2021-02-15 12:53

    Sounds like you want a wrapper around FAM or inotify. Maybe something like node-inotify-plusplus would work for you.

    0 讨论(0)
提交回复
热议问题