Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prioritise --static-dir on init when no assets are embedded.
When no static assets are found on init, i.e., when a binary without stuffbin assets are loaded, the app looks for all necessary static files in the working dir, including the `./static/*` path which renders the `--static-dir` flag irrelevant. This patch gives `--static-dir`, if set, precedence over `./static/*` when loading assets from the working dir when a binary is not stuffed with static files. Closes #340.
- Loading branch information