collaborationFactory/cplace-asc

Modification in imported HTML template does not trigger a recompilation

Closed this issue · 0 comments

Precondition: An imported HTML template included into an angular directive like this:

import * as myTemplate from './myTemplate.html';

export function myDirective() : ng.IDirective {
  template: myTemplate,
   ...
}

Steps to reproduce:

  1. Start cplace-asc with -w (watch) and wait until it is finished.
  2. Modify myTemplate.html and save file.

Expected result: The modification should be detected and recompiled.
Actual result: Assets compiler does nothing. The modification will only have an effect after cplace-asc was restarted.

Using cplace-asc version 0.8.0.