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
// put it to scripts/watch.js | |
// add - "watch": "node scripts/watch.js", into package.json in section scripts | |
process.env.NODE_ENV = "development"; | |
const fs = require("fs-extra"); | |
const paths = require("react-scripts/config/paths"); | |
const webpack = require("webpack"); | |
const config = require("react-scripts/config/webpack.config.dev.js"); |