Transpile code and start server:
yarn install
yarn start
You can now open http://localhost:8080 and start
testing your local 250 or MTR4 device (if using cURL, you will need to add the
--compressed
arg, because servor
serves gzipped since v3.3.1).
To continuously watch files for changes, you need to start Gulp (in another tab):
yarn dev
When yarn dev
is ran, Gulp will start and you can change code in both this
folder (example) and in the library (one up (../src/*.ts
)). Gulp is watching
changes for all TS-files, and will start the correct task according to which
file is changed. The server will automatically reload when files are changed.