Commit Graph

2026 Commits

Author SHA1 Message Date
Dillon Kearns
52fd8cc1b7 Use non-blocking IO in Elm ports for renderer. 2021-04-11 14:38:14 -07:00
Dillon Kearns
75fec75d61 Performance tuning for compiling elm client. And make sure to set elmMakeRunning to false after initial compilation. 2021-04-11 14:37:39 -07:00
Dillon Kearns
c154c2bb65 Only rerun codegen when Template module files are added or removed, since that's all the information they depend on. And don't rerun multiple elm make tasks while one is in progress to debounce. 2021-04-11 12:28:55 -07:00
Dillon Kearns
00f551e4d7 Print out time to run elm make. 2021-04-10 19:52:43 -07:00
Dillon Kearns
138e909ba3 Add ts types for cross-spawn. 2021-04-10 17:07:42 -07:00
Dillon Kearns
4b23287b4d Update codegen globals. 2021-04-10 16:47:48 -07:00
Dillon Kearns
e96f656f18 Remove obsolete code for pre-rendering head tags with webpack. 2021-04-10 16:27:21 -07:00
Dillon Kearns
691809191e Inline function. 2021-04-10 14:16:50 -07:00
Dillon Kearns
d951d59afc Remove obsolete markdown stuff. 2021-04-10 14:13:44 -07:00
Dillon Kearns
15d6304de1 Remove obsolete function. 2021-04-10 14:11:26 -07:00
Dillon Kearns
edbadddf7f Remove obsolete images folder in favor of just static folder. 2021-04-10 14:06:48 -07:00
Dillon Kearns
543243de88 Remove unused module. 2021-04-10 13:58:08 -07:00
Dillon Kearns
3c952f2be5 Remove more references to pathkey. 2021-04-10 13:55:46 -07:00
Dillon Kearns
91bc0ba1f1 Remove more pathkey references. 2021-04-10 13:53:17 -07:00
Dillon Kearns
cf1d03a2bb Remove more instances of pathkey. 2021-04-10 13:51:39 -07:00
Dillon Kearns
03e81639f6 Remove remaining references to NoMetadata. 2021-04-10 13:34:04 -07:00
Dillon Kearns
c2dc6b22ba Remove more references to NoMetadata. 2021-04-10 13:28:22 -07:00
Dillon Kearns
81c523bad6 Remove more references to NoMetadata. 2021-04-10 13:26:19 -07:00
Dillon Kearns
01138fc252 Remove unused. 2021-04-10 13:20:30 -07:00
Dillon Kearns
ba6a5b9cca Remove unused module. 2021-04-10 13:15:39 -07:00
Dillon Kearns
e06cdda113 Remove unused code. 2021-04-10 13:14:13 -07:00
Dillon Kearns
16d838a6a7 Remove dependency on Pages module in connector module. 2021-04-10 13:12:04 -07:00
Dillon Kearns
776bc3317d Remove Pages.pages, Pages.images, etc. 2021-04-10 13:05:23 -07:00
Dillon Kearns
da14d2e88f Goodbye PathKey! 👋 2021-04-10 13:00:26 -07:00
Dillon Kearns
f47d2b1ed6 Remove dependency on Pages module in more places. 2021-04-10 12:57:58 -07:00
Dillon Kearns
31a5f2d8f6 Remove more references to Pages module. 2021-04-10 12:37:06 -07:00
Dillon Kearns
e71c073d95 Remove some references to Pages.pages and Pages.images. 2021-04-10 12:32:37 -07:00
Dillon Kearns
2722df72f7 Add starting design for separate routes module. 2021-04-10 10:47:25 -07:00
Dillon Kearns
8c4990551c Remove more pathkey stuff. 2021-04-10 10:35:37 -07:00
Dillon Kearns
12b36d964f No more PathKey for PagePath! 2021-04-10 10:33:26 -07:00
Dillon Kearns
ca901b043d Apply fixes. 2021-04-10 10:12:51 -07:00
Dillon Kearns
6812367ab2 Use hardcoded () for pathkey. 2021-04-10 10:09:32 -07:00
Dillon Kearns
379817e51e Remove copy commands for beta-index.js and beta-style.css since they're now just assets. 2021-04-10 10:09:12 -07:00
Dillon Kearns
b1b339010c Wait to apply HMR update so that Elm can receive port with updated contentJson. 2021-04-10 09:07:35 -07:00
Dillon Kearns
ccb8828470 Remove HmrStatus state. 2021-04-10 08:12:58 -07:00
Dillon Kearns
66e43cb71b Turn off syntax highlighthing for now to test out performance. 2021-04-10 08:00:07 -07:00
Dillon Kearns
a0622db69d Move hmr loading indicator code into hmr.js and out of Elm code. 2021-04-09 16:36:18 -07:00
Dillon Kearns
ebb78e541a Retain staticHttp cache in dev server. 2021-04-09 13:22:12 -07:00
Dillon Kearns
b23c774b68 Print out timing of render function in logs. 2021-04-09 12:20:28 -07:00
Dillon Kearns
dc5178e861 Remove unused code. 2021-04-09 12:01:28 -07:00
Dillon Kearns
a6514b844f Serve assets with npm package that does streaming and mime type handling. Serve up some files from the file system for simlicity. 2021-04-09 12:00:24 -07:00
Dillon Kearns
bd1170083f Display request timing in dev server logs, and prevent some errors being logged by avoiding trying to read files for navigation requests. 2021-04-09 10:56:13 -07:00
Dillon Kearns
d9391cee53 Only apply HMR updates when content.json is free of errors. 2021-04-08 18:42:05 -07:00
Dillon Kearns
16689b7e85 Bust require cache when reloading Elm renderer function, re-run codegen step before running CLI Elm compilation, and await pending CLI compilation before responding to content.json requests. 2021-04-08 16:01:39 -07:00
Dillon Kearns
332be32410 Simplify and reuse article data source helpers. 2021-04-08 13:54:55 -07:00
Dillon Kearns
13d99ab294 Update formatting. 2021-04-08 08:43:38 -07:00
Dillon Kearns
df3961105e Update codec. 2021-04-08 08:43:19 -07:00
Dillon Kearns
f7814bee67 Update elm-review package. 2021-04-08 08:42:35 -07:00
Dillon Kearns
222382ce7f Update elm-codec version. 2021-04-08 08:42:07 -07:00
Dillon Kearns
a920266cb6 Wire in path for build errors. 2021-04-08 08:41:36 -07:00