Skip to content

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

@nathanredblur

Description

@nathanredblur

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions