The Blubber config accepts a requirements array property that is a list of all files needed in the container to perform a task. This works but is challenging to keep in sync with .gitignore, especially since most developers don't run Blubber locally. This ticket is a feature request to support reading the .gitignore file instead which would allow mounting the entire working directory and provide a seamless experience for non-Blubber devs.
Example: WVUI uses .gitignore file to exclude the node_modules/ directory, select dist/ files, and more. Similar, .prettierignore, .stylelintignore, .eslintignore, and forth files are maintained mostly by looking at the .gitignore. However, this list must be mentally inverted and kept in sync for Blubber and is something of trial by error: requirements: [dist/, src/, docs/, .webpack/, tsconfig.json, .postcssrc.json]. A better approach may be to mount all versioned files.