on master help sign in
remove waiting gif in reactor

I think the new style gives HTML with JS inline. That means the compile will be done by the time the browser gets the HTML, so the waiting animation wouldn't show. Would need to structure it differently to show a waiting animation, but hopefully with the incremental compiles, this wouldn't really make sense to have. Maybe it makes sense to log package downloads on the terminal though. That seems like something that'd make a slower build.

commit0068bc187df2c592fbd9635eb8f99301c26ab9e3 authorEvan Czaplicki <evancz@users.noreply.github.com> dateTue 18 Jun 2019, 16:39 (7 years ago) parent5ecb070
2 files changed−6
reactor/assets/waiting.gif terminal/src/Develop/StaticFiles.hs−6
reactor/assets/waiting.gifdeleted

Binary file not shown.

terminal/src/Develop/StaticFiles.hs−6
@@ -36,7 +36,6 @@ dict :: HM.HashMap FilePath (BS.ByteString, MimeType)
3636dict =
3737 HM.fromList
3838 [ faviconPath ==> (favicon , "image/x-icon")
39− , waitingPath ==> (waiting , "image/gif")
4039 , elmPath ==> (elm , "application/javascript")
4140 , cssPath ==> (css , "text/css")
4241 , codeFontPath ==> (codeFont, "font/ttf")
@@ -122,8 +121,3 @@ sansFont =
122121favicon :: BS.ByteString
123122favicon =
124123 $(bsToExp =<< runIO (Build.readAsset "favicon.ico"))
125−
126−
127−waiting :: BS.ByteString
128−waiting =
129− $(bsToExp =<< runIO (Build.readAsset "waiting.gif"))