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

Add interesting features 🌟 #10

Merged
merged 5 commits into from
Aug 19, 2022
Merged

Conversation

sahilrajput03
Copy link
Contributor

@sahilrajput03 sahilrajput03 commented Aug 9, 2022

Add support for running
1.) Custom start command before running the task via start option (inspired from nodemon's api)
2.) Clear logs before every run of change files in the task event via clearOnStart option

So for adding those two options looks like:

module.exports = {
	// ...
	  watcher: {
		  mycontracts: {
			  clearOnStart: true,
			  start: 'echo Staring my Sweet testing now!',
			  // ...
		  },
		  // ...
	  },
}

Thanks. I hope users of of this lib will like it as well.

…d also add support for clearing logs before running tasks from start.
@sahilrajput03
Copy link
Contributor Author

@xanderdeseyn , does this PR looks good to you?

@xanderdeseyn
Copy link
Owner

I can look at it this week!

@xanderdeseyn
Copy link
Owner

Can you add some docs to the readme as well please?

@sahilrajput03
Copy link
Contributor Author

@xanderdeseyn , sure!

@sahilrajput03
Copy link
Contributor Author

Please review the changes I made in readme file here in the PR diff.

@xanderdeseyn
Copy link
Owner

Thanks for the contribution!

@xanderdeseyn xanderdeseyn merged commit aa428fa into xanderdeseyn:main Aug 19, 2022
@sahilrajput03
Copy link
Contributor Author

awesome!. Thanks for considering my code.

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

Successfully merging this pull request may close these issues.

2 participants