antonybudianto / angular-starter

:star: Gulp Angular Starter using TypeScript (Updated to 4.4.3)

Home Page:https://antonybudianto.github.io/angular-starter/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

karma.conf.js issues

talmog opened this issue · comments

Hi,
Thanks again for the starter, I have few more questions please.

  1. in Karma.conf.js under "files" should the node_modules files be watched? are they expected to change?
  2. I am trying to the auto watch for Karma so it runs the tests after every save. I was able to achieve that easily, but he typescript is not being re-converted. I have tried using different preprocessors, but they also run only once.

Thank you so much!

Hi,

  1. I also think it should not be watched, but I wait until next ng2 release since they have some changes for testing (even karma-shim needs change)
  2. Not sure about this, you might need restartOnFileChange option to restart Karma and it'll rerun the remap

Thank you