How to create a. bat file that Ionic serves?

Asked

Viewed 177 times

1

Good evening, I’m trying to create a file . bat to run Ionic serves, however I’m not getting good results and I need help! Follow what I’ve done:

cd C: Users ernetwork Desktop ERN_ADM instation site project Ionic serves but it doesn’t work.

  • It is not a matter of software design, you could remove this tag and avoid unnecessary searches.

1 answer

1


1) use quotes on the way

2) add to bat: cd /d %~pd0

3) run the Ionic server call (see the command here!)

4) Check that variables are available and correct(see variables here)

cd "C:\Users\ernetwork\Desktop\ERN_ADM\instação\site\projeto ionic serve"

Browser other questions tagged

You are not signed in. Login or sign up in order to post.