updated to only compile assets a single time when using the hook