user2828442
user2828442

Reputation: 2515

How to work faster with `ionic cordova run browser` command

In my ionic app, I had to install some cordova plugins, due to which ionic serve does not work any more. After searching on web I found I need to work with:

ionic cordova run browser

Now if I make changes then I need to close the cli, open it and need to run the command again. Ctrl + F5 , clearing cache or refreshing browser nothing takes effect of the changes.

Every time I do a little update I have to run this command to see the update. Is there a way I can work faster?

Upvotes: 3

Views: 3252

Answers (1)

Suraj Rao
Suraj Rao

Reputation: 29625

The ionic cordova run command has a livereload option which

Spin up server to live-reload www files

Do:

ionic cordova run browser -l

Upvotes: 2

Related Questions