-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Allen Royston edited this page Jul 30, 2018
·
34 revisions
These notes are really for me because I'm totally not going to remember how this fucking thing works a month from now. Essentially it works as follows:
- When the site is running, a Gulp file begins watching for changes in instructions/build.json. This file gets changed when the user makes changes to partial properties on the site. (In src/components/elements/EmailGenerator/emailGenerator.ts, there is a watch that will send a POST with updated values).
- When the build.json is changed, it triggers a rebuild of the output/template.html
There is a NodeJS/Express server that handles serving the site and handling the upload. It works in tangent with Gulp to watch for changes to rebuild