1

Is there something like?

sencha app watch --host=mydomain.app

As we all know, the default domain is localhost:1841. I can define a custom port, but not a custom domain.

I haven't found anything related in the Sencha documentation. Any workaround? I need to serve on a custom domain to avoid cross domain CORS issues.

Thanks.

John Smith
  • 1,848
  • 3
  • 13
  • 24

1 Answers1

2

According to the documentation of Sencha Cmd you can:

  1. Change the default address in sencha.cfg by setting inspector.address property.
  2. Use the config command of Sencha Cmd to set a server and port:
sencha config --prop inspector.address=http://server:port/ \
    then \
    app watch --inspector
Peter Koltai
  • 8,296
  • 2
  • 10
  • 20