btholt/complete-intro-to-react-v4

Question typescript and parcel

ehmkah opened this issue · 1 comments

I watched your frontendmaster-session where you showed how to use typescript. Everything works but parcel seems not to update the application if I change something. I need to restart parcel. How could it be achieved that parcel sees changes in tsx files.

The reason for this behavior comes from an IntelliJ-feature. In short word: Intellij automatically saves a file to a temporary file if it has been changed (Intellij call it "save-write"). If the temporary change has been successful the temporary file overwrites the old file. That's why parcel cannot see that change.

Solution: Disable safe write feature in Intellij see for details

Since this has nothing to with the react-course I will close this issue.