helix-importer-ui
helix-importer-ui copied to clipboard
[import] Hot reload imported files
If your import.js script has local imports, they are not hot reloaded when changed. A full page reload is required. The workaround to speed up development is to put everything in one script. Another workaround could be to have a rollup or webpack script to bundle the import.js and its dependencies in on single file and run a watcher that will reconstruct the file on change. This requires some bundling knowledge.
Ideally, this would be managed automatically by the importer.