Ionic uses an older version of my home.page.ts file

no matter how many times i save it , itll always use the old code which is already rewitten… ionic serve , ionic run , everywhere the same problem

try removing the www Folder before serving

doesnt seem to work , i deleted the www folder … serve again , still the same problem

ok it seems ionic kinda cached teh version because i was using

onclick=“xxx()” instead of (click)=“xxx()” in the html file

kind of strange but maybe itll help someone else …

im stil new to ionic/angular, comnig from firefox vanilla js addon developement

An explanation that seems more plausible to me is that you had an uncaught build error.

i dont think so , i got no build error in the console … , but when i changed that bit it finally worked