Skip to content

File update optimizations

Leo Thorp requested to merge file-update-optimizations into master

Assumptions/Caveats

  • assumes use of Node 18 (untested on lower versions)
  • start script is changed to require pre-compilation of the webserver with tsc. this was to address an error from the worker thread and to speed up execution on production.
  • building/starting the server in prod becomes more complex. running build_and_start.sh after pulling the latest code should do all the needed steps from the Dockerfile. For the time being, this implies a slightly longer downtime when application code (not JSON files) changes. a ZD deployment implemented with pm2 or via another deployment provider that handles it automatically would address this.

Summary

Edited by Leo Thorp

Merge request reports