[BUG] Hot reloading does not work on save
joellidin opened this issue · comments
Joel Lidin commented
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Whenever I save the view does not reload. I can manually run :FlutterReload
and it works.
Expected Behavior
For the view to reload.
Steps To Reproduce
Default settings in flutter-tools.nvim
and with an minimal app provided by flutter
.
Environment
- OS: Ubuntu 22.04
- Flutter version: 3.16.2
- Is flutter in $PATH: yes
- neovim version: v0.10.0-dev-1734+g76a30f2bd
Anything else?
I realized that it worked if I added an autocmd with BufWritePre
in my config instead of BufWritePost
for whatever reason.
Joel Lidin commented
I apparently had misconfigured something because now it works after some changes in my config. Sorry for the noise