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
"packages pub" doesn't release flutter lock #14703
Comments
@aegis123 I have faced this problem too. As a workaround, you could set |
We need to release the lock before running pub. |
@lfkdsk fixed this! Thanks! |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
When running
flutter packages pub run build_runner watch
to generate model classes and keep the generated code up to date with the change I make. I can't build or install or hot reload the project I'm working on.When I pressed the run button in intellij to compile and install the app I get the following error:
When I kill the build_runner process it starts compiling and installing the project.
If I start the build_runner watch when the project is already running on a device or simulator/emulator
I get the follow error when I make a change to the code:
Is there a way to start a separate process for the code generation so we can keep compiling and running our apps during development?
The text was updated successfully, but these errors were encountered: