extjssencha-cmd

How to run "sencha app watch" without a webserver


I am already serving my ExtJS 5.1 development application on a local (nginx) web server, and I don't need the development webserver from Sencha Cmd when running sencha app watch.

Is there any flag or other command equivalent but without running this extra web server?

Alternativelly, what would be an equivalent command for building the development app (not making the entire build proccess of a production app) but without the "watch" characteristics? ie. issued automatically by the IDE every time I save a .js file.


Solution

  • You can switch off the web server.

    Go to the sencha.cfg file located at <App name>\app\.sencha\app and put at the bottom of the file:

    skip.web.start=true or skip.web.start=1