Not found template


I want add loading template to my app. I add package sacha:spin.
My router file:
loadingTemplate: ‘loading’,
waitOn: function () {return Meteor.subscribe(‘tasks’);}

My template:
template name=“loading”>
{{> spinner}}

On my local machine all works fine, but when i deployed on server - i gat an error on boot application: Couldn’t find a template named “loading” or “loading”. Are you sure you defined it?
Loading template lives in /client/views.
Router file lives in /lib
I read several forums describing similar problems and after i add my “loading” template code to main.html file - it works great!
can somebody tell the reason for such behavior?