-
Notifications
You must be signed in to change notification settings - Fork 65
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
feature request: Global option to turn autostart off completely #245
Comments
Presumably when you use I ask because there may be a better way to be more targeted about protecting specific sensitive tasks without globally disabling autostart |
Not starting tasks on session auto-load is the main thing, yes. But generally speaking, I do not want my editor kicking off build jobs just because I opened it. I would like a global option because auto-starting tasks appears to be a deliberate design goal, and I don't want to be surprised by a new feature that brings its own, new "no autostart" flag with it that I didn't realise I had to set.
Personally, I just don't want anything running automatically. The "watch" feature covers my autorun needs perfectly. A global option is the best way to achieve that, imo. Anything else — other than defaulting to no autostart — is more effort and more error prone. |
I added a config option to disable autostart when loading tasks from a bundle. It also applies to the |
I no longer need my forked plugin, so thanks very much for that 👍 It doesn't really address the more general issue of Overseer running tasks more eagerly than I'd like. It's not possible, AFAIK, to create a task without also immediately running it. (Instead, I have to create a task that does something innocuous, then edit it to set the real command.) So I would like — generally speaking — the option for task execution to not be coupled with any other operation. Then I can add tasks like "clean all" or "push to live server" ahead of time without having to wait till I actually want to run the task (and generally not worry about the tasks ever running automatically). |
Only sort of true. It's true that if you use Do either of those work for your use case? I'd be very curious if you find yourself wanting to |
Did you check existing requests?
Describe the feature
I would like a simple, global option to disable autostart completely. I don't ever want tasks to run on load, and that is currently difficult to achieve without great effort. In particular, I've had to make a private copy of the
resession.nvim
plugin.Provide background
I would like to be able to add tasks like "Publish to Server", but I also don't want to risk such destructive tasks running when I don't expect it.
So I would like to be able to disable autostart completely.
Currently, I am editing tasks, overriding options and re-writing plugins to achieve this. I would prefer the convenience — and especially peace — of mind of a global option to turn autostart off everywhere at once.
What is the significance of this feature?
strongly desired
Additional details
No response
The text was updated successfully, but these errors were encountered: