Generate often builds an empty loop
Closed this issue · 6 comments
http://snid.es/image/0t1o3D3l3o0K
This also happened in the demo video. Dunno what causes it, but seems to happen often.
Think i might know what this is.
Actually I have no idea why this happens. Terminal is not spitting out any unusual errors
I figured it out... I was loading a theme. The theme had cms.html in it. That caused the CMS to point to the theme's firebase, but the generator to point to the correct firebase.
We should make theme installs not allow overwriting of firebase.conf and cms.html
Do we have to explicitly prevent these files, or just make this part of the caveat emptor that is the theme stuff. Theres a bunch of files they really shouldn't be putting in theme zips (libs, anything not to do with webhook), it would be frustrating to have to support a white list.
I think doing both is prolly the best idea. I'll add it to the docs on my side.
Also, there's no need for this to be addressed soon. It's just something we can deal with later.