Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application doesn't restart automatically #142

Open
Dajust opened this issue Feb 10, 2023 · 0 comments
Open

Application doesn't restart automatically #142

Dajust opened this issue Feb 10, 2023 · 0 comments

Comments

@Dajust
Copy link

Dajust commented Feb 10, 2023

I've tried to add --watch option manually and also the suggestions here but nothing's working.

My script block looks like this

"scripts": {
     ...
    "clean": "rm -rf build && mkdir build",
    "dev": "yarn clean && babel src -w -d build --extensions '.ts'",
    "dev-start": "babel-watch build/index.js -w [build]",
    "dev-nodemon-start": "nodemon --exec babel-node build/index.js"
  },

Everything work as expected when I use nodemon. But restarting does happen when I use babel-watch

I'm on Mac M1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant