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
4 changes: 2 additions & 2 deletions src/lib/before-prepare.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ module.exports = function ($logger, $projectData, $usbLiveSyncService) {
var liveSync = $usbLiveSyncService.isInitialized;
var bundle = $projectData.$options.bundle;
if (liveSync || bundle) {
$logger.warn("Hook skipped because either bundling or livesync is in progress.")
$logger.trace("Hook skipped because either bundling or livesync is in progress.")
return;
}

return converter.convert($logger, $projectData.projectDir, $projectData.appDirectoryPath, $projectData.appResourcesDirectoryPath);
}
4 changes: 2 additions & 2 deletions src/lib/compiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ function compile(data) {
return new Promise((res, rej) => {
var projectDir = data.projectDir,
appDir = data.appDir;

var logger = new LogProvider(data.logger);

var sassPath = require.resolve('node-sass/bin/node-sass');
if (fs.existsSync(sassPath)) {
logger.info("Found peer node-sass");
logger.trace("Found peer node-sass");
} else {
isResolved = true;
rej(new Error('node-sass installation local to project was not found. Install by executing `npm install node-sass`.'));
Expand Down
2 changes: 1 addition & 1 deletion src/lib/watch.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = function (logger, projectData, usbLiveSyncService, hookArgs) {
if (hookArgs.config) {
const appFilesUpdaterOptions = hookArgs.config.appFilesUpdaterOptions;
if (appFilesUpdaterOptions.bundle) {
logger.warn("Hook skipped because bundling is in progress.")
logger.trace("Hook skipped because bundling is in progress.")
return;
}
}
Expand Down