Skip to content
This repository has been archived by the owner on May 3, 2019. It is now read-only.

Hot-reload issue #10

Closed
rstoenescu opened this issue Jan 10, 2017 · 5 comments
Closed

Hot-reload issue #10

rstoenescu opened this issue Jan 10, 2017 · 5 comments

Comments

@rstoenescu
Copy link
Member

Referecing quasarframework/quasar#312

@Vaerum
Copy link

Vaerum commented Jan 15, 2017

I found the solution/problem. The problem is not caused by the Quasar framework.
Found the solution in this thread: webpack-contrib/webpack-hot-middleware#129

If I run sudo quasar dev it will work. It something about the permission in the project folder. The thread suggest to run this command in the project folder to skipe the sudo command:
sudo chown -R whoami: .

The command have not worked for me. I will continue to use the sudo command until I have found the problem with my OS.

//Rasmus

@rstoenescu
Copy link
Member Author

Thanks for following this and adding the solution you found! I appreciate it!

@rstoenescu
Copy link
Member Author

Will document this particular case in the docs.

@hawkeye64
Copy link
Member

Adding this for anyone else in the future that runs into this issues.

I just created a Quasar app and had the exact same issue. Apparently, depending on various settings between Ubuntu versions, you may get different results as this happens to be a file watcher issue. I found this information: File system monitoring issue

To temporarily fix, you can run this:
echo 100000 | sudo tee /proc/sys/fs/inotify/max_user_watches

Or, for a more permanent result, you can edit
/etc/sysctl.d/99-sysctl.conf

and add:
fs.inotify.max_user_watches = 100000

then reload the kernel parameters with:
sysctl --system

@abhijit-padhy
Copy link

Try adding -- --reset-cache to your run command.
*for Linux OS

Ref:
https://www.reddit.com/r/reactnative/comments/8mlelt/hot_reloadinglive_reload_stopped_working_how_do_i/

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

No branches or pull requests

4 participants