I am sending a request with Node.js to get code source of a website and setting interval of 5 seconds, and then I am changing my code source in my server, but the code still getting the old code source, it's not updating, here is the code
const request = require('request'); setInterval(() => { request('https://example.com/', function (error, response, body) { console.log(body); }); }, 5000);
after I change something in my source code, the console not updating
2.1m questions
2.1m answers
60 comments
57.0k users