Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stubby.start to watch for all param changes #77

Open
knomdlo opened this issue Feb 28, 2019 · 0 comments
Open

Stubby.start to watch for all param changes #77

knomdlo opened this issue Feb 28, 2019 · 0 comments

Comments

@knomdlo
Copy link

knomdlo commented Feb 28, 2019

I'm looking for a way of using start method in watch mode. Currently it appears watch param accepts filenames & not regex(or I might be wrong).

Is there a way I can achieve this:

const Stubby = require('stubby').Stubby;
const stubby = new Stubby();
stubby.start({
....other config......
watch: "." // Watch on all file changes
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant