ffmpegwasm / ffmpegwasm/ffmpeg.wasm
ffmpeg triggers `--require` flags to re-run the module that's required
未關閉
- 主要語言
- C
- 星號
- 17.8k
- 分支
- 1.1k
- PR 合併指標
- 30 天內沒有已合併 PR
描述
**Describe the bug**
When running my server with `--require` flags, those modules get re-loaded several times during ffmpeg's transcoding.
**To Reproduce**
I've created a reproduction repo with reproduction steps in the README: https://github.com/kentcdodds/ffmpeg-require-flag
**Expected behavior**
I expect the `--require`ed module to only run once.
**Desktop:**
- OS: macOS
- Node
- Version 16.3.0
**Additional context**
In my real scenario, I use `--require` during development to require some HTTP interception mocks and to initialize development-time environment variables.
貢獻指南
評估
這個 Issue 還沒有評估資料。