Put Express’s callback in Promise, and the browser’s second refresh is always loaded.

  node.js, question
'use strict';
 import express from 'express';
 let app = express();
 app.listen(4869);
 
 new Promise(resolve => {
 app.get('/', (request, response) => resolve(response));
 }).then(response => {
 response.send(new Date);
 response.end();
 });

The above is my code. The problem encountered is that the first time the browser is opened after execution, it can be loaded quickly, and the second refresh is always waiting.

If you do not use Promise, the following code can be refreshed in seconds:

app.get('/', (request, response) => response.send(new Date));

Solve, thank you!

It must be blocked