Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiMisiukevich authored Nov 12, 2018
1 parent 90b32e8 commit 1db6b76
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ namespace Xamarin.Forms.HotReload.Sample
public App()
{
#if DEBUG
HotReloader.Current.Start(); //you can pass specific url, if you want to run it on real device
#endif
HotReloader.Current.Start(); //you can pass specific url/port, if you want to run it on real device (default - your local ip)
this.InitializeElement();
#else
InitializeComponent();
#endif
MainPage = new NavigationPage(new MainPage());
}
}
Expand Down

0 comments on commit 1db6b76

Please sign in to comment.