Wechat development tools are automatically refreshed to the home page each time they are saved, which is very inconvenient for development. Is there a solution?

for example, if you are editing on another page, you may just change the css style, be refreshed and jump to the front page, and then have to reopen the edit page. It is troublesome to get used to using Wechat developer tools on ctrl+s,. Is my configuration not ready?


Thank you for the method downstairs, and find another way without changing app.json

.

1. Click normal compilation, and select
clipboard.png
2.
clipboard.png
3.
clipboard.png

to add compilation mode.

this is Mini Program's startup mechanism.
generally, when developing that page, write it to the first one, and then put it on the back


place the current edit page first under pages in app.json, for example:

"pages":[
    "pages/demo/demo",
    "pages/index/index"
  ],

every time you save and refresh, the default is the demo page.


what if there is a subcontract?


feel the same way! It is very troublesome to develop, even if you put the current editing page in the first place under pages in app.json, you can have fewer pages, especially if you have more pages, you can restart as soon as you save them. It is very troublesome to maintain. Alas, it is even more troublesome if the page has parameters.

Menu