PDA

View Full Version : Revert app pointing to build/production



serge.schumacher
10 Dec 2013, 12:20 AM
Hi,


Iíve the problem that my ExtJS App is automatically pointing to the build/production folder.


I app starts from http://localhost:8080/web but the next calls go to http://localhost:8080/web/build/production/Ö.


This happened after I tried to make a sencha app build, which failed.
So somewhere in bootstrap.js or somewhere else is an instruction to redirect the page request, does anybody know how to revert this ?

Kevin Jackson
11 Dec 2013, 12:58 PM
Serge- First thing I would be curious about is what the build fail messages told you. Can you post them here? Issue is likely that the CSS build is the pointer that is going to the build location since it optimizes the CSS built for your app.

sencha ant sass will compile the sass without all of the rest of the build, but the proper first thing to do would be to determine the reason for the failure.

zetmann
16 Oct 2014, 11:03 AM
Kevin, the question still is: does anyone know how to revert it?
Anyway, if you have just built -e production and want to make some fixes in your app/ ?
how to switch back to development environment, when bootstrap.js and bootstrap.json take rasources from app/ but not from build/production(testing) usimg CMD, of course ?