Most node.js developers use Nodemon as a development server, as it allows you to watch your project files and will automatically restart Node when changes are detected. However, there are a few problems with this. Restarting an application every time a file changes is often unnecessary, and causes a slight delay before you can refresh […]
Node.js
Node Tip: require() JSON files
If you didn’t already know this, it may come in handy. You can use Node’s require() function to require JSON files. It will return a hash. Just like require() always does, it will cache the file, and only load it once (no matter how many files you require it from). Useful for config files. var […]
Node.js and NodeFTPD
A buddy of mine has been telling me I should learn Node.js for the last few months, but I’ve been staying away because I haven’t been the biggest fan of JS in the client (Browser inconsistencies and all that). This week I decided to dive in and see what the hype is all about, and […]