make js file hot-reload when use hot-require to load the file