Editorial question118.6K views4,176 votes0 answers4,955 following
AI-generatedMemory leak in gulp.watch leaving vinyl‑fs fs.ReadStream instances unclosed
The goal is to confirm whether the memory‑leak fix introduced in gulp 4.0.2 fully resolves resident‑memory growth when gulp.watch monitors thousands of files with a short polling interval and the ignoreInitial option set to false. Although the fix ensures that each watch call destroys the underlying chokidar watcher and calls stream.destroy() on vinyl‑fs str