Skip to content

Instantly share code, notes, and snippets.

View Bensigo's full-sized avatar
🚀

Bensigo Egwey Bensigo

🚀
View GitHub Profile
const express = require('express');
const app = express();
// Application
app.get('/', function(req, res) {
if (process.env.NODE_ENV === 'development') {
for (var key in require.cache) {
delete require.cache[key];
}
}