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
| const fs = require("fs"); | |
| const pathClient = "./node_modules/react-dev-utils/webpackHotDevClient.js"; | |
| fs.writeFileSync( | |
| pathClient, | |
| fs | |
| .readFileSync(pathClient) | |
| .toString() | |
| .replace( |
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/bash | |
| # James Shubin, 2018 | |
| # run `make` in the first directory (or its parent recursively) that it works in | |
| # https://purpleidea.com/blog/2018/03/10/running-make-from-anywhere/ | |
| MF='Makefile' # looks for this file, could look for others, but that's silly | |
| CWD=$(pwd) # starting here | |
| while true; do | |
| if [ -e "$MF" ]; then |
OlderNewer