Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Requirejs load timeout issue - how to increase the time?

I have a requirejs project.

While debugging it in chrome i put breakpoints in the code and usually i go slowly through the code. But this causes timeout errors for the future files.

How can i increase the timeout time for the files to like 50 seconds?

like image 401
Ashish Negi Avatar asked Sep 30 '22 10:09

Ashish Negi


1 Answers

You can use the waitSeconds config option.

require.config({
    baseUrl: "./scripts",
    waitSeconds: 50,
    paths: {
        // ...
    },
    // ...
});
like image 90
sffc Avatar answered Dec 18 '22 08:12

sffc