implemented add post - todo create paragraphs

This commit is contained in:
Malar Kannan
2017-08-09 13:53:19 +05:30
parent a54d94f6ad
commit 3fec54ae75
21 changed files with 1497 additions and 588 deletions

View File

@@ -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);
});