I am sure I am missing something simple…
I have created a ServiceStack Angular4App project with the latest (v184.108.40.206) VS2017 project templates extension:
After loading to VS2017 and having all packages restored I got it working straight away.
But the major problem is that any modification to the
src/modules/app/hello.ts do not get compiled (and reflected at runtime). Doesn’t matter what I do: rebuild all, restart VS.
Effectively the VS template as is is only good to compile the app once. After that I cannot change it.
I think this might be a clue:
Having break point in the
src/modules/app/hello.ts was not possible though as an alternative one could put the breakpoint g in dynamically generated
./node_modules/angular2-template-loader!./node_modules/@angularclass/hmr-loader!./src/modules/app/home/hello.ts. I guess it has something to do with WEBPACK
I appreciate any advice.