I just updated the CLI and suddenly, when I save some changes on my project, it doesn’t build it with the new changes and refresh my browser as it used to, even if I refresh the page manually. I have to close the ionic serve and reopen it in order to work.
Does it really not build, or does it build (new lines in the ionic serve console) and only the changes are not picked up? What exactly are you changing in your project?
Ok, but do get new lines added in the console and does the browser show the black “building” bar and then reload - and just then show the same stuff as before?
What exactly are you changing when you see this behavior?[quote=“RaulGM, post:3, topic:97971”] @ionic/app-scripts : 1.3.7
[/quote]
This is outdated and should be updated to 1.3.12 or even 2.x (read the changelog for necessary changes in index.html).
Ok, so it doesn’t even observe that you changed the file.
What happens if you press the spacebar in the console window?
What happens if you change a .ts file instead of a template?
Yes. On windows the build process sometimes just hangs and only continues when there is input. No idea why and also not reproducible.[quote=“RaulGM, post:7, topic:97971”]
I’m comparing other projects file by file with this new one, everything seems normal so far.
[/quote]
What I is on my mind is that there is a command in tsconfig or something like that that enables or disables the build when the project is saved. I find that, in tsconfig there is this line of code that sais "compileOnSave": false, but when compared with other projects that works perfectly good, the line is exactly the same.