Update local packages and hot reload to project

249

hot reload need sometimes full reload https://docs.flutter.dev/development/tools/hot-reload#special-cases

Share:
249
GILO
Author by

GILO

cool, super duper cool. Yeahhhhhhh

Updated on January 03, 2023

Comments

  • GILO
    GILO over 1 year

    Hi I have a local package that I import in a project

    Project pubspec.yaml:

    dependencies:
      my_local_package:
        path: ../my_local_package
    

    I have both the my_local_package and project open in 2 tabs in android studio. I want to update the my_local_package and press hot reload and receive the updates.

    Update my_local_package -> Press Hot reload in main_project -> Updates received

    How can I do this?

    • Paolo_000
      Paolo_000 about 2 years
      Did you find out a way? I'm looking for it too