mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-18 17:21:33 +00:00
fix: yarn dev not building dev client assets first
This commit is contained in:
parent
b0a2cb8ec1
commit
807f153324
@ -154,6 +154,8 @@ gulp.task('build:js', () => {
|
||||
|
||||
gulp.task('build', gulp.parallel('build:sass', 'build:css', 'build:fontello', 'build:js'))
|
||||
|
||||
gulp.task('build-dev', gulp.series('clean', 'build'))
|
||||
|
||||
/** TASKS: VERSION STRINGS */
|
||||
|
||||
gulp.task('exec:bump-versions', cb => {
|
||||
@ -216,4 +218,4 @@ gulp.task('nodemon', cb => {
|
||||
})
|
||||
})
|
||||
|
||||
gulp.task('watch', gulp.series('clean', 'build', gulp.parallel('watch:src', 'nodemon')))
|
||||
gulp.task('watch', gulp.series('clean', 'build', gulp.parallel('nodemon', 'watch:src')))
|
||||
|
@ -19,7 +19,7 @@
|
||||
"pm2": "env NODE_ENV=production pm2 start ./lolisafe.js",
|
||||
"lint": "gulp lint",
|
||||
"build": "gulp default",
|
||||
"dev": "env NODE_ENV=development node ./lolisafe.js",
|
||||
"dev": "env NODE_ENV=development gulp build-dev && env NODE_ENV=development node ./lolisafe.js",
|
||||
"dev:reload": "env NODE_ENV=development gulp watch",
|
||||
"migrate": "node ./scripts/migrate.js",
|
||||
"bump-versions": "node ./scripts/bump-versions.js",
|
||||
|
Loading…
Reference in New Issue
Block a user