Changes not reflecting with yarn but working with npm

System Information
  • Strapi Version: 3.6.5
  • Operating System: windows 10
  • Database:
  • Node Version: 14.17.3
  • NPM Version: 6.14.13
  • Yarn Version: 1.22.5

After fixing an issue on github when I tried to test the code it worked fine after using npx create-strapi-app my-project but when I used yarn create strapi-app my-project the changes that I made were not reflected. How can I solve this issue?