mysterious-toddler-20573
10/13/2022, 8:20 PMechoing-dress-67727
10/13/2022, 8:20 PMpackage-lock.json
or yarn.lock
to pin the version?white-motorcycle-95262
10/13/2022, 8:21 PMpackage-lock.json
is being usedechoing-dress-67727
10/13/2022, 8:22 PMhtmx.org
somewhere, and it should specify a version. Is it 1.8.0 or 1.7.0? I'd think 1.8.0, but š¤·āāļøechoing-dress-67727
10/13/2022, 8:24 PMwhite-motorcycle-95262
10/13/2022, 8:24 PMnpm list
shows 1.8echoing-dress-67727
10/13/2022, 8:26 PM^1.7.0
says "I want any version above 1.7, but below 2.0" so, 1.7.0 and 1.8.0 are both allowed. (more about that versioning syntax here: https://docs.npmjs.com/about-semantic-versioning) The second screenshot is where it's pinned to a specific version (1.8.0). So when you run npm install
, it should be using 1.8.0mysterious-toddler-20573
10/13/2022, 8:27 PMmysterious-toddler-20573
10/13/2022, 8:27 PMwhite-motorcycle-95262
10/13/2022, 8:27 PMnpm intall
on the prod server. Thanks for your helpmysterious-toddler-20573
10/13/2022, 8:28 PMechoing-dress-67727
10/13/2022, 8:29 PMechoing-dress-67727
10/13/2022, 8:29 PMmysterious-toddler-20573
10/13/2022, 8:30 PMechoing-dress-67727
10/13/2022, 8:30 PMechoing-dress-67727
10/13/2022, 8:33 PMHX-Trigger
like you said, but I agree that feels hacky.
I could also solve it with load polling, but imo that obfuscates the polling a bit, making it more complicated to understand. every 1s
makes it pretty clear it's polling, whereas load delay:1s
doesn't read as polling to meechoing-dress-67727
10/13/2022, 8:33 PMboundless-vase-80440
10/13/2022, 9:29 PMhundreds-cartoon-20446
10/13/2022, 9:41 PMmysterious-toddler-20573
10/13/2022, 10:27 PMminiature-lizard-24702
10/13/2022, 11:54 PMmysterious-toddler-20573
10/14/2022, 12:25 AMmysterious-toddler-20573
10/14/2022, 2:45 AMbitter-machine-55943
10/14/2022, 3:40 AMmysterious-toddler-20573
10/14/2022, 3:59 AMmysterious-toddler-20573
10/14/2022, 3:59 AMbitter-machine-55943
10/14/2022, 4:19 AMfreezing-waitress-26396
10/14/2022, 8:10 AMfreezing-waitress-26396
10/14/2022, 8:11 AM