====== Update Express Generator ====== Fetcher can check for a newer Express Generator version and optionally install it. ===== Update options ===== check_for_update = true automatic_update = true update_check_interval = 24 Option behavior: * ''check_for_update'' Enables update checks when fetcher runs. * ''automatic_update'' If a newer version exists, fetcher downloads and installs it automatically. * ''update_check_interval'' Minimum hours between update checks. ===== Recommended profiles ===== ==== Fully automatic (default) ==== check_for_update = true automatic_update = true update_check_interval = 24 Use when you want Express Generator to stay current with no manual steps. ==== Notify only ==== check_for_update = true automatic_update = false update_check_interval = 24 Use when updates must be reviewed before installation. ==== No update checks ==== check_for_update = false Use in controlled environments where versions are pinned externally. ===== CLI examples ===== Check for updates but do not auto-install: node ./bin/fetch.js --check-for-update true --automatic-update false --update-check-interval 0 Disable update checks for this run: node ./bin/fetch.js --check-for-update false Force an update check immediately: node ./bin/fetch.js --check-for-update true --update-check-interval 0 ===== Notes ===== * ''update_check_interval'' is measured in hours. * The last check timestamp is stored in ''./bin/res/update-check.json''. * Update checks run only when ''check_for_update'' is enabled. * Auto-update replaces files in the ''./bin'' folder. * Keep your custom changes in user settings files and pass them with ''--settings''. ===== Related page ===== * [[fetch-js|Fetcher (fetch.js)]]