mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Fixed yarn dev
refs https://github.com/TryGhost/Toolbox/issues/365 - this fixes the path of the admin assets to the ghost package dir and points the subgrunt path to the admin dir
This commit is contained in:
parent
e1bee3c647
commit
b1d6b434b5
2 changed files with 5 additions and 5 deletions
|
@ -22,7 +22,7 @@ module.exports = {
|
|||
const fs = this.project.require('fs-extra');
|
||||
const walkSync = this.project.require('walk-sync');
|
||||
|
||||
const assetsOut = `../built/admin/${this.env}`;
|
||||
const assetsOut = `../core/core/built/admin/${this.env}`;
|
||||
fs.ensureDirSync(assetsOut);
|
||||
|
||||
// the dist folder contains more than just index.html and /assets, especially
|
||||
|
|
|
@ -175,21 +175,21 @@ module.exports = function (grunt) {
|
|||
npmInstall: true
|
||||
},
|
||||
projects: {
|
||||
'core/admin': 'init'
|
||||
'../admin': 'init'
|
||||
}
|
||||
},
|
||||
|
||||
dev: {
|
||||
'core/admin': 'shell:ember:dev'
|
||||
'../admin': 'shell:ember:dev'
|
||||
},
|
||||
|
||||
prod: {
|
||||
'core/admin': 'shell:ember:prod'
|
||||
'../admin': 'shell:ember:prod'
|
||||
},
|
||||
|
||||
watch: {
|
||||
projects: {
|
||||
'core/admin': ['shell:ember:watch', '--live-reload-base-url="' + config.getSubdir() + '/ghost/"']
|
||||
'../admin': ['shell:ember:watch', '--live-reload-base-url="' + config.getSubdir() + '/ghost/"']
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue