doc: add details to run hyper in dev mode (#2493)

This commit is contained in:
blackhands77 2018-04-28 01:08:44 +09:00 committed by CHaBou
parent 9a536722f8
commit 9232875b2b

View file

@ -63,6 +63,7 @@ Regardless of the platform you are working on, you will need to have Yarn instal
5. To run `hyper` 5. To run `hyper`
* `yarn run app` from another terminal tab/window/pane * `yarn run app` from another terminal tab/window/pane
* If you are using **Visual Studio Code**, select `Launch Hyper` in debugger configuration to launch a new Hyper instance with debugger attached. * If you are using **Visual Studio Code**, select `Launch Hyper` in debugger configuration to launch a new Hyper instance with debugger attached.
* If you interrupt `yarn run dev`, you'll need to relaunch it each time you want to test something. Webpack will watch changes and will rebuild renderer code when needed (and only what have changed). You'll just have to relaunch electron by using yarn run app or VSCode launch task.
To make sure that your code works in the finished application, you can generate the binaries like this: To make sure that your code works in the finished application, you can generate the binaries like this: