Skip to content

How the js and css build command execute when the container is running? #11

Answered by nickjj
cris-m asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

The project is already set up to watch in development. The esbuild watch option keeps the container running and watches files for changes, then it immediately rebuilds the new JS on change. Tailwind works the same with the --watch flag for CSS.

You just need to run the app in development mode which it does by default in the .env file with:

export FLASK_DEBUG=true
export NODE_ENV=development

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cris-m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants