In general, editing a theme is a straightforward development task as soon as you have set-up the preview. When you edit CSS files, Saas files or JavaScript files, add images and, maybe, write Freemarker templates you will immediately see all changes in your preview CAE.
All CoreMedia themes come with a Grunt watch taks, which includes a live reload mode. This will automatically releoad your changed files (see https://github.com/gruntjs/grunt-contrib-watch#live-reloading).
However, before you can start editing a theme, you need a theme. You can either edit an existing theme, or create a new theme. Creating a new theme requires additional work, because before you can see the preview, you need to create a new module, do an initial upload of your theme to the Content Server and link it to a site.
Note | |
---|---|
Renaming or adding of templates will work smoothly, but deleting a template will not work without clearing the cache. Empty the cache or restart the CAE to see the affected changes. |