kadirahq / flow-router

Carefully Designed Client Side Router for Meteor
MIT License
1.09k stars 195 forks source link

Infinite hot code reload with 3.11.2, Meteor 1.3.12 and setPageCacheTimeout #550

Open enricofoschi opened 8 years ago

enricofoschi commented 8 years ago

Hi @arunoda - I commented this on your Medium post, but also realized that it'd be useful to track it here as well:

I noticed a bug with setPageCacheTimeout. If I have it enabled as you suggested above, and have a simple route like:

FlowRouter.route('/', {
    name: 'products.list',
    action() {
        console.log("CIAO");
    }
});

shared between client and server, any change on a “client” folder (in packages or even on the root folder of the project) trigger an infinite hot reload in the browser (Chrome, Firefox).

Unfortunately I had to disable it. Any idea what it could be? I am using the very basic Mantra kickstarter project.

Thanks again and, as usual, well done!