feat: watch challenges (#34321)
This commit is contained in:
committed by
mrugesh mohapatra
parent
82ec250c75
commit
cee98aef43
@ -1,6 +1,10 @@
|
||||
const path = require('path');
|
||||
|
||||
const { buildChallenges } = require('./utils/buildChallenges');
|
||||
const {
|
||||
buildChallenges,
|
||||
replaceChallengeNode,
|
||||
localeChallengesRootDir
|
||||
} = require('./utils/buildChallenges');
|
||||
|
||||
const { NODE_ENV: env, LOCALE: locale = 'english' } = process.env;
|
||||
|
||||
@ -36,7 +40,9 @@ module.exports = {
|
||||
resolve: 'fcc-source-challenges',
|
||||
options: {
|
||||
name: 'challenges',
|
||||
source: buildChallenges
|
||||
source: buildChallenges,
|
||||
onSourceChange: replaceChallengeNode,
|
||||
curriculumPath: localeChallengesRootDir
|
||||
}
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user