Skip to content

Commit

Permalink
test environment modification
Browse files Browse the repository at this point in the history
  • Loading branch information
aarongundel committed Dec 27, 2023
1 parent 4665077 commit 3f4eeea
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions arches_rdm_example_project/webpack/webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -444,20 +444,20 @@ module.exports = () => {
};

let projectSettings = spawn(
'python',
'/opt/ENV/bin/python',
[Path.resolve(__dirname, Path.parse(__dirname)['dir'], 'settings.py')]
);
projectSettings.stderr.on("data", process.stderr.write);
projectSettings.stdout.on("data", createWebpackConfig);

projectSettings.on('error', () => {
projectSettings = spawn(
'python3',
[Path.resolve(__dirname, Path.parse(__dirname)['dir'], 'settings.py')]
);
projectSettings.stderr.on("data", process.stderr.write);
projectSettings.stdout.on("data", createWebpackConfig);
});
// projectSettings.on('error', () => {
// projectSettings = spawn(
// 'python3',
// [Path.resolve(__dirname, Path.parse(__dirname)['dir'], 'settings.py')]
// );
// projectSettings.stderr.on("data", process.stderr.write);
// projectSettings.stdout.on("data", createWebpackConfig);
// });

});
};

0 comments on commit 3f4eeea

Please sign in to comment.