[Bug Report]: farmModuleSystem.require has cache
Opened this issue · 0 comments
Maidang1 commented
Steps to reproduce
- cd example/react-ssr
- run
pnpm start
and runpnpm watch
in another terminal - modify any file and refresh browser
- add
console.log("entry", entry.default.toString());
ininde.js
and see the output
we can see the output file content ischildren: "111"
but the require result ischildren: "11"
Reproduce link
No response
What is actually happening?
none
System Info
System:
OS: macOS 14.4.1
CPU: (10) arm64 Apple M1 Pro
Memory: 97.02 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.11.0 - ~/Library/Caches/fnm_multishells/86588_1717911475315/bin/node
Yarn: 1.22.21 - ~/Library/pnpm/yarn
npm: 10.2.4 - ~/Library/Caches/fnm_multishells/86588_1717911475315/bin/npm
pnpm: 9.1.4 - ~/Library/Caches/fnm_multishells/86588_1717911475315/bin/pnpm
bun: 1.0.25 - ~/.bun/bin/bun
Browsers:
Chrome: 125.0.6422.142
Safari: 17.4.1