adobe / helix-cli

Command-line tools for developing with AEM
Apache License 2.0
49 stars 58 forks source link

auto-reload on `.html` resources #2400

Open davidnuescheler opened 1 month ago

davidnuescheler commented 1 month ago

currently it seems that instant auto reload of .js and .css doesn't work when working on .html. i don't think there is a downside of also supporting auto reload of changed resources for those cases.

davidnuescheler commented 1 month ago

it looks like we would need to add the injection of livereload.js for static .html resources as well, which seems to change the flow a little bit here: https://github.com/adobe/helix-cli/blob/34852168091fe1cc57e7aefedefc3d59a4a02ed1/src/server/HelixServer.js#L73