0.1.4 • Published 5 years ago

truffle-watch v0.1.4

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

truffle-watch

A truffle plugin for re-running commands when files change.

Why

When developing contracts, we do a suite of checks regularly whenever we make changes:

  • truffle compile
  • truffle test
  • slither ...

truffle-watch enables you to run all of these checks in a single terminal session.

Example usage, etc.

Sample usages:

$ truffle watch
$ truffle watch --config config.json

Sample config:

{
  'test': {
    'cmd': 'truffle',
    'args': ['test'],
    'files': ['contracts/*.sol', 'test/*.js']
  },
  'slither': {
    'cmd': 'slither',
    'args': ['.'],
    'files': ['contracts/*.sol']
  }
}

Default config:

{
  'test': {
    'cmd': 'truffle',
    'args': ['test'],
    'files': ['contracts/', 'test/']
  }
}
0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago