Emulators for js-dos 7.xx
docker build -t emulators .
docker run -p 8080:8080 -ti emulators
Open http://localhost:8080/test/test.html
in browser, all test should pass
Run inside the project dir:
docker run -v `pwd`/src:/app/src -v `pwd`/test:/app/test -v `pwd`/dist:/app/dist -ti emulators bash
source /emsdk/emsdk_env.sh
gulp OR ./node_modules/.bin/tsc --watch
Use your code editor to edit the content of src and test.
In the docker VM you can run gulp
to build everything into dist
OR use
./node_modules/.bin/tsc --watch
if you need only compile time checks.