Speed improvements
Much faster local development: maizzle serve
now only re-compiles the template that was changed/edited. This results in changes being reflected in the browser in under a second.
Hot reload
Maizzle now uses bs-html-injector
to 'hot reload' your changes without reloading the browser page. However this currently only works with templates, the following will still trigger a refresh:
-
editing a Layout
-
editing a Component
-
editing
tailwind.config.js
-
using this in a Template (triggers a Layout update):
<block name="head"> <style postcss> /* custom CSS, eventually with Tailwind directives like @apply */ </style> </block>
Other changes
- Browsersync will now correctly watch the file you have specified in
build.tailwind.config
in yourconfig.js
- updated some dependencies