mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-30 23:01:34 +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', gulp.parallel('build:sass', 'build:css', 'build:fontello', 'build:js'))
|
||||||
|
|
||||||
|
gulp.task('build-dev', gulp.series('clean', 'build'))
|
||||||
|
|
||||||
/** TASKS: VERSION STRINGS */
|
/** TASKS: VERSION STRINGS */
|
||||||
|
|
||||||
gulp.task('exec:bump-versions', cb => {
|
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",
|
"pm2": "env NODE_ENV=production pm2 start ./lolisafe.js",
|
||||||
"lint": "gulp lint",
|
"lint": "gulp lint",
|
||||||
"build": "gulp default",
|
"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",
|
"dev:reload": "env NODE_ENV=development gulp watch",
|
||||||
"migrate": "node ./scripts/migrate.js",
|
"migrate": "node ./scripts/migrate.js",
|
||||||
"bump-versions": "node ./scripts/bump-versions.js",
|
"bump-versions": "node ./scripts/bump-versions.js",
|
||||||
|
Loading…
Reference in New Issue
Block a user