Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stagas/watch-and-build

watch a list of directories and run build commands when files change
https://github.com/stagas/watch-and-build

Last synced: 14 days ago
JSON representation

watch a list of directories and run build commands when files change

Awesome Lists containing this project

README

        


@stagas/watch-and-build

watch a list of directories and run build commands when files change



npm i @stagas/watch-and-build -g

pnpm add @stagas/watch-and-build -g

yarn global add @stagas/watch-and-build

## API

# Options src/runner.ts#L7

# run(options) src/runner.ts#L54

    # options


    run(options)  =>



      Promise<void>

## Credits

- [cross-spawn](https://npmjs.org/package/cross-spawn) by [André Cruz](https://github.com/moxystudio) – Cross platform child_process#spawn and child_process#spawnSync
- [decarg](https://npmjs.org/package/decarg) by [stagas](https://github.com/stagas) – decorator based cli arguments parser
- [tree-kill](https://npmjs.org/package/tree-kill) by [Peteris Krumins](http://www.catonmat.net) – kill trees of processes

## Contributing

[Fork](https://github.com/stagas/watch-and-build/fork) or [edit](https://github.dev/stagas/watch-and-build) and submit a PR.

All contributions are welcome!

## License

MIT © 2022 [stagas](https://github.com/stagas)