Webpack HMR wondered why this accept was only executed once.

in the hot replacement of the HMR module in the official webpack documentation, the following code is used to modify the code in print.js, but why is it only executed once? is it because there is a cache after the module replacement, or is there some other mechanism that causes this function to be executed only once

clipboard.png

if(module.hot){
      module.hot.accept("./print.js",function(){
          console.log("Accepting the updated printMe module!");
      })
}
May.24,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eb25c3-4818e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eb25c3-4818e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?