Reading a file in real-time using Node.js

后端 未结 4 403
無奈伤痛
無奈伤痛 2020-12-05 05:30

I need to work out the best way to read data that is being written to a file, using node.js, in real time. Trouble is, Node is a fast moving ship which makes finding the bes

4条回答
  •  抹茶落季
    2020-12-05 06:29

    this module is an implementation of the principle @hasanyasin suggests:

    https://github.com/felixge/node-growing-file

提交回复
热议问题