Implemented a quick and dirty selective filesystem to support including/excluding option that can be used as an alternative of Generator.FS().
The current implementation of the Generator/Runner filesystem opens all files under the root when it is initialized. This is dangerous behavior and it introduced the too many open files error of buffalo fix.
Implemented a quick and dirty selective filesystem to support including/excluding option that can be used as an alternative of
Generator.FS()
.The current implementation of the Generator/Runner filesystem opens all files under the root when it is initialized. This is dangerous behavior and it introduced the
too many open files
error ofbuffalo fix
.For more background information could be found in https://github.com/gobuffalo/cli/issues/116#issuecomment-1065926318
Please take a look at this PR and please release it as a new version. Then I will open a new PR for cli.