Closed wegorich closed 6 years ago
Yeah, for the plugin.
In general is, I needs to mange .html
templates, the hidden by the text-plugin
. I don't find working solution over the systemjs plugins. And comes with idea to allow systemjs-hot-reloader
user manage the files manually if needed. For example like this. Full sample attached in the top link.
if (event.url.startsWith('src/')) return;
if (SystemJS.loads[formatTextUrl(cwd(event.url))]) {
event.url = formatTextUrl(event.url);
}
fileChanged(event).then(()=>{
changeAureliaFiles(event.url.split('!')[0]);
});
Will this be merged?
🎉
So I've got pretty annoying issue with System.js Aurelia and .html templates. First of all I have to append !text loader each time. And even I change the path at the browser-sync lvl, I still have no possibility receive events from .html change, using systemjs-plugins. code sample
So it would be really good to have possibility to override fileChanged common logic.