Created
December 19, 2019 17:30
-
-
Save srgpsk/b99fd28221ee22d625e6bfe03462054a to your computer and use it in GitHub Desktop.
Devilbox helper. Runs npm watch in docker container
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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