Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
106 changes: 0 additions & 106 deletions scully.sampleBlog.config.js

This file was deleted.

4 changes: 1 addition & 3 deletions scully/utils/compileConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@ async function compileTsIfNeeded(path) {
const jsFile = getJsName(path);
const jsStats = existsSync(jsFile) ? statSync(jsFile).mtimeMs : 0;
console.log({jsStats});
// if ( tdLastModified>jsStats) {
if (true) {
console.log('need compile');
if (tdLastModified > jsStats) {
const source = readFileSync(path).toString('utf8');
const js: TranspileOutput = transpileModule(source, {fileName: path, reportDiagnostics: true});
if (js.diagnostics.length > 0) {
Expand Down
25 changes: 0 additions & 25 deletions tsconfig.scullyconfig.json

This file was deleted.