Closed JoelBesada closed 4 years ago
I noticed a bug where you would stop getting the latest changes from a file after the first refresh when using watch mode. This is due to require() calls being cached in Node.js, so we need delete the cache entry each time we import the file again.
require()
@yuya-takeyama @christineoo could you take a look when you have time(and merge)? 🙇 I don't have ownership anymore.
I noticed a bug where you would stop getting the latest changes from a file after the first refresh when using watch mode. This is due to
require()
calls being cached in Node.js, so we need delete the cache entry each time we import the file again.