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

watch & run functionality? #272

Closed
natpen opened this issue Feb 6, 2018 · 1 comment
Closed

watch & run functionality? #272

natpen opened this issue Feb 6, 2018 · 1 comment

Comments

@natpen
Copy link
Contributor

natpen commented Feb 6, 2018

Hello again! 👋

I see there is plz watch functionality built into please as a result of #118 - I don't see this covered in the documentation, but from reading through the code it looks like it will watch the filesystem for changes, rebuild, and test if possible.

One thing we've been playing with the past few days is running a python/flask web app through please (which has been its own fun adventure in the interplay between gunicorn and pexes), and we were wondering if you had given any thought to the viability/usefulness of watch&run type functionality, as opposed to the current watch[&test]?

@peterebden
Copy link
Member

Ahhh, someone must have completely forgotten to add that to the docs :)

I have idly thought of watch&run in the past, it makes quite a bit of sense but just never got around to doing it. The current functionality autodetects whether to test or not which is a bit less trivial for run - but I'd not be against adding a flag for it. That shouldn't be very hard (just needs flags changing in src/please.go and plumbing into src/watch/watch.go).

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

2 participants