implemented add post - todo create paragraphs
This commit is contained in:
@@ -29,6 +29,8 @@ const paths = require('../config/paths');
|
||||
const config = require('../config/webpack.config.dev');
|
||||
const createDevServerConfig = require('../config/webpackDevServer.config');
|
||||
|
||||
const child_process = require('child_process');
|
||||
|
||||
const useYarn = fs.existsSync(paths.yarnLockFile);
|
||||
const isInteractive = process.stdout.isTTY;
|
||||
|
||||
@@ -72,6 +74,9 @@ choosePort(HOST, DEFAULT_PORT)
|
||||
clearConsole();
|
||||
}
|
||||
console.log(chalk.cyan('Starting the development server...\n'));
|
||||
child_process.spawn('python',['run.py'],{
|
||||
stdio:'inherit'
|
||||
});
|
||||
openBrowser(urls.localUrlForBrowser);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user