hmr
Enable Hot Markup Replacement™ for the dev server.When
true, changes you make to Templates, Components, config files etc. will be instantly reflected in the browser without a full page reload.You may disable HMR and force a page reload by setting this to false:config.js
watch
An array of paths (which can be globs) to watch for changes. When a file in one of these paths changes, the dev server will update the preview in the browser.By default, Maizzle watches these paths:
- all Template, Component, and Layout paths
config*.jsmaizzle.config*.jstailwind*.config.js**/*.css
config.js
port
Port number for the dev server.The server will now be available at
config.js
http://localhost:8080.maxRetries
Number of times to retry starting the dev server if the port is already in use.
config.js
scrollSync
Scrolling in one browser tab will be synchronized across all other browser tabs that are viewing the same Template. This works across devices too.Enable synchronized scrolling:You can now open the same Template on both your laptop and your phone, and scrolling on one will be mirrored on the other.
config.js
reportFileSize
When enabled, the dev server will report the size of the compiled HTML file in the console.
This number will be color-coded based on how close the file size is to the 102KB limit for Gmail.Enable it by setting this to
true:config.js
spinner
Customize the spinner shown in the console when compiling a Template.See the ora spinners list for available options.
config.js