Skip to content

Instantly share code, notes, and snippets.

@srgpsk
Created December 19, 2019 17:30
Show Gist options
  • Save srgpsk/b99fd28221ee22d625e6bfe03462054a to your computer and use it in GitHub Desktop.
Save srgpsk/b99fd28221ee22d625e6bfe03462054a to your computer and use it in GitHub Desktop.
Devilbox helper. Runs npm watch in docker container
#!/bin/sh
# Devilbox helper. Run npm watch in docker container
cd ~/projects/devilbox/ && \
docker-compose exec --user devilbox php bash -l -c "cd path_to_dir;npm run watch;"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment