Trillo Docs
  • Info
  • Quick Start
  • Concepts
    • Overview
    • Reactivity
    • Indexability
    • Reusability
    • Kits
  • Reference
    • CLI
    • Language
    • Markup
    • Preprocessor
    • Runtime
    • Server
    • Stdlib
Powered by GitBook
On this page
  • Server class
  • Development mode
  • Server values
  • URLPATH
  1. Reference

Server

PreviousRuntimeNextStdlib

Last updated 1 year ago

TBD

Server class

TBD

Development mode

The command and objects initialized with the devmode = true start a local Trillo server in development mode, which means will:

  • automatically recompile pages whose overall source code is modified, including -ed and -d sources, recursively

  • automatically update route mapping based on the directives in modified pages

  • deliver page-specific code as a separated .js file with sourcemap

  • optionally, inject autorefresh code

  • add support for __noclient and __noserver HTTP parameters

Server values

URLPATH

TBD

trillo
Server
<:import>
<:include>
:URLPATH