code: function watchConfig() {
      watch.createMonitor(currentConfigPath, function(monitor) {
          monitor.on("changed", function(f, curr, prev) {
              // Handle file changes
              logger.info('mock config file is changed, execute update')
              try {
                  var configPath = path.join(currentConfigPath, CONFIG_FILE_NAME);
                  //remove config module cache ,next time require this module will reload
                  delete require.cache[configPath];
  
                  mock.options.mockConfig = require(configPath);
                  logger.info('mockConfig file hot reload success!');
              } catch (e) {
                  logger.info('mockConfig file hot reload failed');
              }
          });
      });
      logger.info('biz-mock config livereload is running!');
  }
docs: hmr