ciaranj / grunt-elevator

Automatically elevate your grunt script's UAC privileges in windows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Task specific elevation

ciaranj opened this issue · comments

Currently the code will force a UAC escalation for any task, you may wish to whitelist certain grunt tasks that require elevation (or alternatively ones that do not require it) and only escalate the script if a task has been specified to run that requires escalation (that may turn out to be super hard/impossible depending on when grunt does it's task-dependency resolution)