Max

Max

Hi,

since some months i get sometimes a white page after a change in the code in the frontend has been made. There doesn´t seem to be any logic to when it happens. After a forced rebuild everything looks normal again.

Any ideas?

Showing Posts 1 to 10

Qqwy

Qqwy

TypeCheck Core Team

This is probably a problem with the group of JavaScript-packages that Phoenix relies on to handle the combining of assets. I have noticed this problem before as well; it seemed to get worse the more complex the application became.

josevalim

josevalim

Creator of Elixir

Which OS are you using? We have heard this issue reported on Windows, where it would first truncate the file and then write to it, causing the CSS/JS files to be empty for a brief period of time.

josevalim

josevalim

Creator of Elixir

Here is a PR: Add configuration for reload interval and update readme. by jung-hunsoo · Pull Request #69 · phoenixframework/phoenix_live_reload · GitHub

If you could try it out and let us know if it fixes the issue it would be very appreciated! If so, we can continue the discussion in the issues tracker.

Max

Max OP

Ubuntu 16.04 latest release

amnu3387

amnu3387

I also had this happening on OSX 10.11.6, very in-between once in a while - perhaps happened 4 or 5 times in 5 or 6 months) and I always forget to try to debug why it happened because the error is unrelated to the code, restarting iex/phx.server solves it and it doesn’t happen enough times to annoy me.

Qqwy

Qqwy

TypeCheck Core Team

I have been using Linux Mint Serena (which is based on Ubuntu 16.04). Currently I am using Manjaro (an Arch Linux flavour) but I have not tested it under this architecture yet.

Max

Max OP

@josevalim

Seems to fix the issue. Hard to test, cause it happend randomly. Will let you know if it stays that way.

josevalim

josevalim

Creator of Elixir

Thanks for the feedback! 1.1.4 released.

outlog

outlog

awesome! - just one thing.. the readme says The default interval is 100ms.

while the code seems to be default 1000ms phoenix_live_reload/lib/phoenix_live_reload/live_reloader.ex at main · phoenixframework/phoenix_live_reload · GitHub

josevalim

josevalim

Creator of Elixir

Thanks, I forgot to save my changes. 1.1.5 is out with proper default of 100ms.

— All posts loaded —

Where Next? Top

Trending in Questions Top

RSP87
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
kszambelanczyk
Hello! Could someone please give me a help/sample code, how to delete a file from s3 using waffle/waffle_ecto from Phoenix app. I creat...
New
RemyXRenard
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New
velrest
So my question is quite simple and i have found no conclusive answer on forum, google or AI. Should we use :erlang.float for Integer to ...
New
samoloth
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New
nseaSeb
Hello, I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
FlyingNoodle
If a change or preparation module uses Ash.Changeset.get_argument/2 or Ash.Query.get_argument/2 (or any of the other get_argument functio...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews