Hi Aditya,
It does not work ; the compilation encounters errors with each command that I created. I guess it comes from the components.
Fabrice

##chapter-4-seconde.tex## 

\startcomponent chapter-4-seconde

\startchapter[title=]
...
\stopchapter

\stopcomponent


Le jeu. 7 mai 2020 à 16:01, Aditya Mahajan <adityam@umich.edu> a écrit :
On Thu, 7 May 2020, Fabrice Couvreur wrote:

> Hi,
> Here is part of a project that is starting to be heavy ; when i add a
> chapter i do context seconde.tex
> How do I compile only the chapter I just added ?
> Thank you.
> Fabrice
>
> \startproduct Seconde
>
> \environment modules
> \environment specialite-style
> \environment specialite-macros
>
>  \startfrontmatter
>      \component specialite-titlepage
>      \component specialite-contents
>  \stopfrontmatter
>
>  \startbodymatter
>    \component chapter-1-seconde
>    \component chapter-2-seconde
>    \component chapter-3-seconde
>    \component chapter-4-seconde
>  \stopbodymatter
> \stopproduct

context chapter-4-seconde

There is a MyWay which shows how you can share cross-refs etc.

Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________