support polling through mixin
support dist/ for deployment