You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 15, 2022. It is now read-only.
We want commands to run before ReScript watch runs and after ReScript watch completes. The commands can use inotify wait to identify when to run, and can run ReScript build directly, instead of using ReScript watch. We might also want to control when next dev starts running.
#140 Generating pages will run after a ReScript build.
We will add a global.yaml data file and we want an ocaml process to convert this data into a globals ReScript module. This should occur before ReScript build runs.
In an ideal world, all the libraries we need would be available in ocaml, and the processing before ReScript build would produce ReScript modules with data and getStaticProps would consist of solely referencing the produced data. Ocaml would perform all the fetching and transforming, ReScript would only perform html rendering in react components.
I came up with a way to avoid #140. I don't think it's worth wrapping ReScript watch for the other noted feature (converting global data from yaml to ReScript constants). I am closing this for now.
We want commands to run before ReScript watch runs and after ReScript watch completes. The commands can use inotify wait to identify when to run, and can run ReScript build directly, instead of using ReScript watch. We might also want to control when next dev starts running.
#140 Generating pages will run after a ReScript build.
We will add a global.yaml data file and we want an ocaml process to convert this data into a globals ReScript module. This should occur before ReScript build runs.
This issue is related to #13.
This comment (#245 (comment)) may also be useful when thinking about the goals for this task.
The text was updated successfully, but these errors were encountered: