⌨️ Synticore Website Compiler - Terminal Task Reference
🧭 Command Pattern
Primary pattern:
npm run gulp <task>
Equivalent direct Gulp invocation:
npx gulp <task>
npm run gulp is preferred because this repo already defines the script alias in package.json.
🧩 Task Groups (Current)
The task groups below reflect the current createTask(...) registrations in gulpfile.js.
General
default- run full build groupwatch- run build, then watch + browser reloadbrowser- start BrowserSync only (no build/watch)plan- print planned build task sequence without mutating output/cachepackage- package output according to configsort_config- normalize/sort project config fileabout- print compiler/project metadata
Build
buildbuild_audiobuild_brandbuild_configbuild_databuild_faviconbuild_filebuild_fontbuild_font_iconbuild_highlight_syntaxbuild_html_configbuild_html_includebuild_htmlbuild_imagebuild_javascriptbuild_mirrorbuild_modulebuild_stylesheetbuild_video
Rebuild
(Reset cache/output for scope, then build scope)
rebuildrebuild_audiorebuild_brandrebuild_configrebuild_datarebuild_faviconrebuild_filerebuild_fontrebuild_font_iconrebuild_highlight_syntaxrebuild_html_configrebuild_htmlrebuild_imagerebuild_javascriptrebuild_mirrorrebuild_modulerebuild_stylesheetrebuild_video
Reset
(Clear cache/output for scope)
resetreset_audioreset_brandreset_configreset_datareset_faviconreset_filereset_fontreset_font_iconreset_highlight_syntaxreset_html_configreset_htmlreset_imagereset_javascriptreset_mirrorreset_modulereset_stylesheetreset_video
Maintenance
project_normalize_pathsproject_update_fullproject_update_directedcompiler_update_caniusecompiler_update_baseline
Test (Development-Focused)
test_configtest_file_matchtest_ansi_standardtest_ansi_color256test_ansi_screentest_ansi_cursortest_ansi_revealtest_ansi_cleantest_ansi_alltest_log_typetest_log_hook_consoletest_log_hook_process_warningtest_log_hook_error_uncaught_exceptiontest_log_hook_error_unhandled_rejectiontest_log_hook_error_async_throwtest_log_hook_error_late_catchtest_log_hook_error_next_ticktest_log_hook_error_immediatetest_log_hook_signal_siginttest_log_hook_signal_sigterm
🔁 Practical Workflows
Standard Local Dev Loop
npm run gulp watch
- Builds project
- Starts file watchers
- Auto-runs relevant build tasks on changes
- Auto-runs additional dependent build tasks when references are impacted (for example, image/svg changes triggering HTML rebuild)
- Reloads browser after watch delays in config
Browser Preview Only (No Build)
npm run gulp browser
- Starts BrowserSync server only
- Useful for validating output that was built in a prior step
Plan Task Resolution (Dry-Run)
npm run gulp plan
- Prints resolved task execution order
- Does not clear cache or rewrite output artifacts
Clean Build From Scratch
npm run gulp reset
npm run gulp build
Targeted Rebuild For One Subsystem
npm run gulp rebuild_stylesheet
npm run gulp rebuild_javascript
Prepare Deploy Artifacts
npm run gulp build
npm run gulp package
📝 Notes And Recommendations
- Run tasks from repository root.
- Keep project selection current via GUI or
config/settings.jsondir_recent[0]. - Use
aboutwhen debugging path/config/project version mismatches. - For stale-cache behavior, start with
rebuildor targetedrebuild_*tasks before deeper debugging.