Dash app precompilation

Dear all,

I have created a Dash application as a Julia module (say myApp.jl). This module has its own environment that I update from time to time. However, when I update the environment, the precompilation step of myApp.jl gets stuck and I have to stop the process. I suspect this is because the module contains the run_server function that makes the application run.

Is there any way to avoid running the run_server function during precompilation?

Thanks for your help

Hi all,

Has anyone an idea how to avoid to precompile a Dash app without running it ?

Thanks for sharing your thoughts :slight_smile:

I answer my question just for the records.

The solution seems to encapsulate the command in a function. In doing so, the precompilation works.