How to fix Refused to apply style from'http://localhost:8100/build/main.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled

Hello, i am beginner using ionic 3 and firebase for this project, but when i started using firebase, i found this problem.

I have a read some discussion about this issue, and found the solution like

Save (Ctrl + S) the typescript

file when i run ionic serve. But how can fix this properly without doing Saving every i run ionic serve?

Thanks

Couldn’t find a proper solution except moving src folder to a new created project.