Tag Archives: node.js

Listen for Folder or File Changes Using “Node.js”

Here is a quick tutorial on using fs.watchFile and fs.readFile in node.js. This will listen or “watch” for file changes on the server and then spit the contents of the file out to the console. However once you get a handle to the data you can do something more useful with it. Let’s check it out.

Continue reading

Posted in JavaScript, node.js | Tagged , , , , , , , , , | Leave a comment