I’m wondering how hard it would be to hack together the following:
All of the js files, html files, css, etc – i.e. the codebase of my meteor app – are stored in a Collection
, say called Codebase
.
Thus instead of using an ordinary text editor to edit files on my filesystem, I edit documents in the Collection . Otherwise everything works like it normally does. For example, when I update a document in the Codebase
collection, the server restarts (live reloads).
Questions:
-
Is there an easy way to do that?
-
If not, what architectural things get in the way?
-
If not, can I easily do SOME of the above scenario, for example load
just my templates from aCollection
?
http://stackoverflow.com/questions/29928147/meteor-load-code-and-templates-from-a-collection