This message was deleted.
# community-support
s
This message was deleted.
t
Maybe with
--rerun-tasks
Gradle would skip that?
m
Doesn't help unfortunately
a
On a task level there is
Task.doNotTrackState()
or
@UntrackedTask
from 7.3, check release notes. I don’t think there is anything on a build level. But you can try set
doNotTrackState()
for your npm tasks if that could solve your issue.
1
m
Thanks Anze. I think I might file a feature request. It makes sense. On my PC it takes an additional 25 seconds of build from the moment npm install finishes, to the actuall end of build in Gradle. A bit crazy.
a
Feel free to open an issue. Does
doNoTrackState()
solve the issue for npm task though?
m
@Anze Sodja we're on 7.1 unfortunately and it's not easy to upgrade. I actually filed another issue related to this.
👍 1
For now I think I'll end up conditionally defining an npm install tasks depending whether we are on build system, or not
I am not happy with this approach tho