micro-dev icon indicating copy to clipboard operation
micro-dev copied to clipboard

micro with next js restart every time on next compile

Open nathanredblur opened this issue 4 years ago • 0 comments

i'm using next.js with micro and I don't know why micro restart when next compile. this is mi logs

File changed: .next/static/chunks/0.js - Restarting server...
Restarted!

I'm using babel, so this is my script to start micro: babel-node ./node_modules/.bin/micro-dev server/app.js -- --ignore .next

you can see that I try to use --ignore to prevent this issue. but not works.

I try with .next, .next/, .next/*, .next/**/*

nothing works.

nathanredblur avatar Dec 04 '19 03:12 nathanredblur