-
Notifications
You must be signed in to change notification settings - Fork 810
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
yarn run hot "ENOENT: no such file or directory" #1176
Comments
This appears to be caused by the
Is there a native way to detect if running in HMR so I don't have to add the extra ENVVAR? |
Thank you for this, worked a charm. |
// Version does not work in HMR mode
if (process.env.npm_lifecycle_event !== 'hot') {
mix.version()
} |
Needed this on an old project thanks :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
When running
yarn run hot
I get the following error. I have verified permissions on thepublic
directory being0755
since this is a local development environment. It appears that the HMR is not compiling those assets and pushing them into place as that file indeed does not exist.My
webpack.mix.js
contains:The text was updated successfully, but these errors were encountered: