Skip to content

Commit

Permalink
add readme for watch-contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
XY-Wang committed Jul 3, 2023
1 parent 142175a commit 22254db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/watch-contracts/watcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import { printHeader, objectToStructuredString } from './utils.js';

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);

export async function watcher({ configPath, verbose }) {
const c = readFileSync(path.resolve(__dirname, configPath)).toString();
const config = parse(c);
Expand Down

0 comments on commit 22254db

Please sign in to comment.