Skip to content

dievardump/postcss-watch-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

postcss-watch-docker

PostCSS-cli not working in watch mode in docker image.

Before start

npm install

Outside docker

npm run build : builds public/global.css

npm run dev : builds public/global.css and watches for change

Inside docker

You can set the command inside the docker-compose.yml (command that is executed at the start of the container) and then run:

docker-compose up -d

2 behaviors depending on the command you set:

npm run build : builds public/global.css

npm run dev : does not do anything and doesn't watch for changes.

About

Minimal repo: Postcss cli fails watch in latest docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages