Find $f'(x)$ by using the formula $\frac{d}{dx}[b^u] = b^u \ln{b}\cdot \frac{du}{dx}$ and then by using the method of logarithmic differentiation when $f(x) =\displaystyle \pi ^{x\sin\!\left(x\right)}$.

$f'(x) =$