Ionic serve VS ionic serve -c

General Tech Bugs & Fixes 2 years ago

0 2 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

I'm new in Ionic and using Ionic 3.9.2

I got several com/tag/terminal">terminal com/tag/commands">commands to serve my com/tag/ionic">ionic-app but, I'm not getting any com/tag/difference">difference between these two com/tag/commands">commands.

com/tag/ionic">ionic serve

and

com/tag/ionic">ionic serve -c
profilepic.png
manpreet 2 years ago

 

  1. To run in basic mode use

ionic serve

  1. To run with console log in CLI

ionic serve -c

  1. To run with livereload with console log in CLI

ionic serve -lc

  1. To run with liverelaod in CLI

ionic serve -l

  1. To run in com/tag/android">android with livereload with console log in CLI

ionic run com/tag/android">android -lc

  1. To run in iOS with livereload with console log in CLI

ionic run ios -lc

Hope it helps


0 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.