mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Fixed linting
This commit is contained in:
parent
a55d00f209
commit
c8b3a08f24
1 changed files with 6 additions and 6 deletions
|
@ -148,12 +148,12 @@ module.exports = function (grunt) {
|
||||||
const liveReloadBaseUrl = config.getSubdir() || '/ghost/';
|
const liveReloadBaseUrl = config.getSubdir() || '/ghost/';
|
||||||
|
|
||||||
switch (mode) {
|
switch (mode) {
|
||||||
case 'dev':
|
case 'dev':
|
||||||
return 'npm run build';
|
return 'npm run build';
|
||||||
case 'prod':
|
case 'prod':
|
||||||
return 'npm run build:prod';
|
return 'npm run build:prod';
|
||||||
case 'watch':
|
case 'watch':
|
||||||
return `npm run start -- --live-reload-base-url=${liveReloadBaseUrl} --live-reload-port=4201`;
|
return `npm run start -- --live-reload-base-url=${liveReloadBaseUrl} --live-reload-port=4201`;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
options: {
|
options: {
|
||||||
|
|
Loading…
Add table
Reference in a new issue