Usage

Main process

$ torch test/main

Renderer process

$ torch --renderer test/renderer

Interactive mode

you can re-run tests by CMD+R

$ torch --interative test/renderer

watching source files

$ torch --interactive --watch test/renderer

View code coverage

$ torch --coverage test/main && torch-coverage

+ Overalls

$ torch --coverage test/main && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage

specify source files

for watching / code coverage

interactive mode

$ torch --interactive --watch --source-pattern src/**/*.js test/renderer

code coverage

$ torch --coverage --source-pattern src/**/*.js test/main && torch-coverage
Last Updated: 2/10/2019, 2:36:54 PM