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

vite-node: .mjs files not watched #3981

Closed
6 tasks done
llllvvuu opened this issue Aug 18, 2023 · 0 comments · Fixed by #3982
Closed
6 tasks done

vite-node: .mjs files not watched #3981

llllvvuu opened this issue Aug 18, 2023 · 0 comments · Fixed by #3982

Comments

@llllvvuu
Copy link

Describe the bug

Make blank file with:

console.log("hello world!")

Run

vite-node -w a.mjs

Change "hello world!" to "hello world 2!". No response.

If file renamed to a.js it works.

Is there a way to configure this?

Reproduction

console.log("hello world!")

System Info

System:
    OS: macOS 13.4.1
    CPU: (8) arm64 Apple M1
    Memory: 150.89 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.3.1 - ~/.local/share/rtx/installs/node/20.3.1/bin/node
    Yarn: 1.22.19 - ~/.local/share/rtx/installs/node/20.3.1/bin/yarn
    npm: 9.6.7 - ~/.local/share/rtx/installs/node/20.3.1/bin/npm
    pnpm: 8.6.12 - ~/.local/share/rtx/installs/node/20.3.1/bin/pnpm
  Browsers:
    Brave Browser: 113.1.51.114
    Chrome: 115.0.5790.170
    Safari: 16.5.1

Used Package Manager

pnpm

Validations

@github-actions github-actions bot locked and limited conversation to collaborators Oct 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants