Originally, the problem was that not having a www directory required
the developer to run the server twice. This was fixed by adding
a .gitkeep to www and removing www entirely from .gitignore.
This PR proposes a slightly different approach. It still ignores
www but whitelists www/.gitkeep (as it was doing already with
favicon.ico).
This also removes the whitelist for favicon as it is being removed by
the compiler and already lives in assets.
There is a caveat with this approach and it is that the compiler removes
all contents from the target directories. Expect a PR fixing this soon
in stencil.
Originally, the problem was that not having a
www
directory required the developer to run the server twice. This was fixed by adding a.gitkeep
towww
and removingwww
entirely from .gitignore.This PR proposes a slightly different approach. It still ignores
www
but whitelistswww/.gitkeep
(as it was doing already withfavicon.ico
).This also removes the whitelist for favicon as it is being removed by the compiler and already lives in assets.
There is a caveat with this approach and it is that the compiler removes all contents from the target directories. Expect a PR fixing this soon in
stencil
.