diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a7fd3fe5..77ea3cc1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,6 +1,14 @@ ## Testing in a real terminal -The recommended way to test node-pty during development is to clone the xterm.js repository and link's node-pty module to this directory. +The recommended way to test node-pty during development is via the electron example: + +```sh +cd examples/electron +npm ci +npm start +``` + +Alternatively, clone the xterm.js repository and link's node-pty module to this directory. 1. Clone xterm.js in a separate folder: ```sh diff --git a/examples/electron/index.html b/examples/electron/index.html index 07af52a1..500f8a0c 100644 --- a/examples/electron/index.html +++ b/examples/electron/index.html @@ -3,11 +3,11 @@