Skip to content

myst start crashes periodically #2500

@mfisher87

Description

@mfisher87

Description

After the MyST preview server (myst start) has been running for a some minutes (5-30 minutes I'd say), it reliably crashes with:

💥 Triggered full project load and site rebuild
/home/mfisher/Projects/geojupyter/workshop-open-source-geospatial/.pixi/envs/default/lib/python3.14/site-packages/mystmd_py/myst.cjs:100829
          cont.watcher.close();
                       ^

TypeError: Cannot read properties of undefined (reading 'close')
    at /home/mfisher/Projects/geojupyter/workshop-open-source-geospatial/.pixi/envs/default/lib/python3.14/site-packages/mystmd_py/myst.cjs:100829:24
    at /home/mfisher/Projects/geojupyter/workshop-open-source-geospatial/.pixi/envs/default/lib/python3.14/site-packages/mystmd_py/myst.cjs:102270:37
    at Array.forEach (<anonymous>)
    at FSWatcher._closeFile (/home/mfisher/Projects/geojupyter/workshop-open-source-geospatial/.pixi/envs/default/lib/python3.14/site-packages/mystmd_py/myst.cjs:102270:17)
    at FSWatcher._closePath (/home/mfisher/Projects/geojupyter/workshop-open-source-geospatial/.pixi/envs/default/lib/python3.14/site-packages/mystmd_py/myst.cjs:102259:14)
    at FSWatcher._remove (/home/mfisher/Projects/geojupyter/workshop-open-source-geospatial/.pixi/envs/default/lib/python3.14/site-packages/mystmd_py/myst.cjs:102251:16)
    at listener2 (/home/mfisher/Projects/geojupyter/workshop-open-source-geospatial/.pixi/envs/default/lib/python3.14/site-packages/mystmd_py/myst.cjs:100955:24)

Node.js v24.9.0

Proposed solution

🤷

Additional notes

This has occurred for me for several releases. I'm not sure how far back, but I'd guess at least back to 1.6.0. I thought I'd already opened an issue for this! Apologies for not doing so earlier.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions