Back

tishadow 的配置, 避免修改多个文件时重复运行shadow( tishadow configuration )

发布时间: 2015-02-11 23:53:00

refer to: https://github.com/dbankier/TiShadow/issues/357
and https://github.com/dbankier/TiShadow/issues/316#issuecomment-47617422

方法1: 修改 ~/.tishadow.json

# vim ~/.tishadow.json
{
  // 更多选项,见 cli/support/config.js
  "port": 3333,
  "watchInterval": 100, // ms
  "watchDelay": 0, //ms ?
  "specType": "jasmine", // 'jasmine','mocha-chai','mocha-should','jasmine2'
}

2

Back