Currently delay is supported on CLI, how can i add this option when using a module?
thanks.
Do this mate:
require connect-pause module:
var pause = require('connect-pause');
Add after jsonServer.use(middlewares))
// pause in ms
jsonServer.use(pause(1000));
thanks!
Do this mate:
require connect-pause module:
var pause = require('connect-pause');Add after jsonServer.use(middlewares))
// pause in ms jsonServer.use(pause(1000));
you are da men! :)
Most helpful comment
Do this mate:
require connect-pause module:
Add after jsonServer.use(middlewares))