vercel / micro-dev

The development environment for `micro`
MIT License
706 stars 77 forks source link

micro with next js restart every time on next compile #111

Open nathanredblur opened 5 years ago

nathanredblur commented 5 years ago

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.