Server performance in nodejs script running forever

I have following code running with forever in nodejs.

https://gist.github.com/yalamber/8035e853f0508edb060e

What it basically does is look for files in specific directory with inotify module and sends new files content to a specific url as post.

What I am thinking about is memory or performance issues as i run this server with forever module. It is running always in the server. Will it cause any problem to server performance?

I would recommend looking into using either setInterval or node-cron to explicitly run this as often as you need to, instead of relying solely on forever.