Giter VIP home page Giter VIP logo

yardman's People

Contributors

agirorn avatar dependabot[bot] avatar minigod avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

minigod

yardman's Issues

Does not start if watched folder does not exist

When src folder does not exisit I get this output and yardman dose not start watching the other folders

yarn run v1.17.3
$ yardman package.json src bin spec 'yarn dev:exec'

Expected output

yarn run v1.17.3
$ yardman package.json src bin spec 'yarn dev:exec'
Error: Can't watch "src" no suche file or folder
.... stack trace

And exit with the exit code of 1

Add the capability to ignore patter of files

For example, when running yardman on a python project that constantly is updating the pycache folder it would be nice to be able to add and ignore of excluding patter

yardman tests --ignore tests/__pycache__ "clear && pytest -vv tests"
yardman tests --ignore-pattern '*__pycache__*' "clear && pytest -vv tests"

Then also include a convenience argument

yardman tests --ignore-python "clear && pytest -vv tests"

.yardmanrc is required

The readme implies that the .yardmanrc file is optional, yet if I run this without the file present I get the following error:

Error: ENOENT: no such file or directory, open '.yardmanrc'
    at Error (native)
    at Object.fs.openSync (fs.js:641:18)
    at fs.readFileSync (fs.js:509:33)
    at readRcfile (/home/kristjan/n/lib/node_modules/yardman/lib/cli/read.js:6:5)
    at cli (/home/kristjan/n/lib/node_modules/yardman/lib/cli/index.js:6:32)

Update the chokidar module

The chokidar module version is currently at v3.0.0 and yardman is using v1.7.0. It would be optimal to use the latest version.

There are some incompatible API changes in chokidar that need to be fixed when upgrading.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.