René's URL Explorer Experiment


Title: Start LiveSync watcher earlier during run · Issue #3404 · NativeScript/nativescript-cli · GitHub

Open Graph Title: Start LiveSync watcher earlier during run · Issue #3404 · NativeScript/nativescript-cli

X Title: Start LiveSync watcher earlier during run · Issue #3404 · NativeScript/nativescript-cli

Description: Currently whenever tns run is executed the logic in CLI is as follows: Prepare the project if needed (this process includes moving files around in platforms, LiveSyncing files if needed, building and installing if required) St...

Open Graph Description: Currently whenever tns run is executed the logic in CLI is as follows: Prepare the project if needed (this process includes moving files around in platforms, LiveSyncing files if needed,...

X Description: Currently whenever tns run <platform> is executed the logic in CLI is as follows: Prepare the project if needed (this process includes moving files around in platforms, LiveSyncing files if n...

Opengraph URL: https://github.com/NativeScript/nativescript-cli/issues/3404

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Start LiveSync watcher earlier during run","articleBody":"Currently whenever `tns run \u003cplatform>` is executed the logic in CLI is as follows:\r\n1. Prepare the project if needed (this process includes moving files around in `platforms`, LiveSyncing files if needed, building and installing if required)\r\n1. Start watching the project files for changes. Whenever changes occur CLI triggers the whole logic in 1.\r\n\r\nThis logic leads to some issues:\r\n* Some plugins have `before-prepare` hooks which trigger some compilation for example and `before-watch` hook, which starts some other watch process and the project files end up undergoing the same process twice\r\n\r\nThe proposed solution to this is to invert the logic and start the watcher initially and then force the first preparation. This will eliminate the aforementioned issues in all plugins (`nativescript-dev-typescript`, `nativescript-dev-sass`, `nativescript-dev-webpack`, etc.). There is also an additional benefit to be gained with this approach - during the very first build of the project the user may make changes to the project files, which will be taken into account and LiveSynced - this functionality is currently missing.","author":{"url":"https://github.com/Mitko-Kerezov","@type":"Person","name":"Mitko-Kerezov"},"datePublished":"2018-02-28T11:25:27Z","url":"https://github.com/NativeScript/nativescript-cli/issues/3404"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:857fd2af-8a5e-f85f-0dc4-b3ca2d9c543b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE090:1EC9BC:17A0B48:1E1C7A1:6B013F7E
html-safe-nonce6c48947f4929ba3428466b56583d86476ce2e4e11e94ae788fbe13a71a2298be
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDkwOjFFQzlCQzoxN0EwQjQ4OjFFMUM3QTE6NkIwMTNGN0UiLCJ2aXNpdG9yX2lkIjoiMTYzNDU2NjQ4MzM2OTYwNzAzOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace5470f0131bcf8482d6628bf899cc6398bde4837b4449c96d65dd36be48e98a7
hovercard-subject-tagissue:300987976
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/nativescript-cli/3404/issue_layout
twitter:imagehttps://opengraph.githubassets.com/6d3b46ac473e95c4de40e8d240bd8e1bf2181fec416df7ff8cc0009124e024a7/NativeScript/nativescript-cli/issues/3404
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6d3b46ac473e95c4de40e8d240bd8e1bf2181fec416df7ff8cc0009124e024a7/NativeScript/nativescript-cli/issues/3404
og:image:altCurrently whenever tns run is executed the logic in CLI is as follows: Prepare the project if needed (this process includes moving files around in platforms, LiveSyncing files if needed,...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameMitko-Kerezov
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/NativeScript/nativescript-cli git https://github.com/NativeScript/nativescript-cli.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id21347346
octolytics-dimension-repository_nwoNativeScript/nativescript-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id21347346
octolytics-dimension-repository_network_root_nwoNativeScript/nativescript-cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/NativeScript/nativescript-cli/issues/3404#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-cli%2Fissues%2F3404
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-cli%2Fissues%2F3404
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=NativeScript%2Fnativescript-cli
Reloadhttps://github.com/NativeScript/nativescript-cli/issues/3404
Reloadhttps://github.com/NativeScript/nativescript-cli/issues/3404
Reloadhttps://github.com/NativeScript/nativescript-cli/issues/3404
NativeScripthttps://github.com/NativeScript
nativescript-clihttps://github.com/NativeScript/nativescript-cli
Codehttps://github.com/NativeScript/nativescript-cli
Issues357 (357)https://github.com/NativeScript/nativescript-cli/issues
Pull requests37 (37)https://github.com/NativeScript/nativescript-cli/pulls
Actionshttps://github.com/NativeScript/nativescript-cli/actions
Projectshttps://github.com/NativeScript/nativescript-cli/projects
Security and qualityhttps://github.com/NativeScript/nativescript-cli/security
Insightshttps://github.com/NativeScript/nativescript-cli/insights
https://github.com/NativeScript/nativescript-cli
New issuehttps://github.com/login?return_to=https://github.com/NativeScript/nativescript-cli/issues/3404
New issuehttps://github.com/login?return_to=https://github.com/NativeScript/nativescript-cli/issues/3404
Start LiveSync watcher earlier during runhttps://github.com/NativeScript/nativescript-cli/issues/3404#top
https://github.com/Fatme
https://github.com/miroslavaivanova
featurehttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%22feature%22
4.1.0https://github.com/NativeScript/nativescript-cli/milestone/70
https://github.com/Mitko-Kerezov
Mitko-Kerezovhttps://github.com/Mitko-Kerezov
on Feb 28, 2018https://github.com/NativeScript/nativescript-cli/issues/3404#issue-300987976
Mitko-Kerezovhttps://github.com/Mitko-Kerezov
featurehttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%22feature%22
on Feb 28, 2018https://github.com/NativeScript/nativescript-cli/issues/3404#event-1496494243
sis0k0https://github.com/sis0k0
on Mar 17, 2018https://github.com/NativeScript/nativescript-cli/issues/3404#event-1526836426
fix(prepare): clean platforms/.../app/ when running webpackhttps://github.com/NativeScript/nativescript-dev-webpack/commit/93fb1a3a957301b14ef9fa3cade9562e6ba71716
93fb1a3https://github.com/NativeScript/nativescript-dev-webpack/commit/93fb1a3a957301b14ef9fa3cade9562e6ba71716
fix(prepare): clean platforms/.../app/ when running webpackhttps://github.com/NativeScript/nativescript-dev-webpack/commit/55e7981f8bafa3c1c5f815194d4cdbdee3cf38ba
55e7981https://github.com/NativeScript/nativescript-dev-webpack/commit/55e7981f8bafa3c1c5f815194d4cdbdee3cf38ba
fix(prepare): clean platforms/.../app/ when running webpackhttps://github.com/NativeScript/nativescript-dev-webpack/commit/940a90ffd309dfbe16e94aa0b87e9526467b5390
940a90fhttps://github.com/NativeScript/nativescript-dev-webpack/commit/940a90ffd309dfbe16e94aa0b87e9526467b5390
fix(prepare): clean platforms/.../app/ when running webpack (#465)https://github.com/NativeScript/nativescript-dev-webpack/commit/cb2f51b0ea40619da8c0a5e230bb2b8542a24d9e
#465https://github.com/NativeScript/nativescript-dev-webpack/pull/465
cb2f51bhttps://github.com/NativeScript/nativescript-dev-webpack/commit/cb2f51b0ea40619da8c0a5e230bb2b8542a24d9e
fix(prepare): clean platforms/.../app/ when running webpackhttps://github.com/NativeScript/nativescript-dev-webpack/commit/db588f3d2dbdc792d991d3b755ff9b87fb835cda
db588f3https://github.com/NativeScript/nativescript-dev-webpack/commit/db588f3d2dbdc792d991d3b755ff9b87fb835cda
Fatmehttps://github.com/Fatme
on Apr 12, 2018https://github.com/NativeScript/nativescript-cli/issues/3404#event-1570934428
Fatmehttps://github.com/Fatme
in progresshttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%22in%20progress%22
on Apr 12, 2018https://github.com/NativeScript/nativescript-cli/issues/3404#event-1570934702
Fatmehttps://github.com/Fatme
on May 11, 2018https://github.com/NativeScript/nativescript-cli/issues/3404#event-1621845939
Start livesync watcher before preparing the projecthttps://github.com/NativeScript/nativescript-cli/commit/e42297a898a83ef199e836a3f457275aae396a46
e42297ahttps://github.com/NativeScript/nativescript-cli/commit/e42297a898a83ef199e836a3f457275aae396a46
Start livesync watcher before preparing the projecthttps://github.com/NativeScript/nativescript-cli/commit/82364e41595410138b2c60f686abe8689504a8e8
82364e4https://github.com/NativeScript/nativescript-cli/commit/82364e41595410138b2c60f686abe8689504a8e8
Start livesync watcher before preparing the projecthttps://github.com/NativeScript/nativescript-cli/commit/ccaafd80cf9d42f2cb36c82002f83dae7caa0f88
ccaafd8https://github.com/NativeScript/nativescript-cli/commit/ccaafd80cf9d42f2cb36c82002f83dae7caa0f88
Start livesync watcher before preparing the projecthttps://github.com/NativeScript/nativescript-cli/commit/caeba7f803e2d5b015a5394e055c60c6dcc9d694
caeba7fhttps://github.com/NativeScript/nativescript-cli/commit/caeba7f803e2d5b015a5394e055c60c6dcc9d694
Start livesync watcher before preparing the projecthttps://github.com/NativeScript/nativescript-cli/commit/56df486318a29c4514ae5620e371ac3a04160968
56df486https://github.com/NativeScript/nativescript-cli/commit/56df486318a29c4514ae5620e371ac3a04160968
Start livesync watcher before preparing the projecthttps://github.com/NativeScript/nativescript-cli/commit/caf30b26fee4261d16b5bbe5bb2b7e9e430f434f
caf30b2https://github.com/NativeScript/nativescript-cli/commit/caf30b26fee4261d16b5bbe5bb2b7e9e430f434f
Start livesync watcher before preparing the projecthttps://github.com/NativeScript/nativescript-cli/commit/a21c1a7f3f740f6553323873ea013ee0b20af72a
a21c1a7https://github.com/NativeScript/nativescript-cli/commit/a21c1a7f3f740f6553323873ea013ee0b20af72a
Start livesync watcher before preparing the projecthttps://github.com/NativeScript/nativescript-cli/commit/897cf3258400cab481bdcbfb1ab9b79b4996ccaf
897cf32https://github.com/NativeScript/nativescript-cli/commit/897cf3258400cab481bdcbfb1ab9b79b4996ccaf
Fatmehttps://github.com/Fatme
ready for testhttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%22ready%20for%20test%22
in progresshttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%22in%20progress%22
on May 16, 2018https://github.com/NativeScript/nativescript-cli/issues/3404#event-1628995814
Fatmehttps://github.com/Fatme
4.1.0https://github.com/NativeScript/nativescript-cli/milestone/70
on May 16, 2018https://github.com/NativeScript/nativescript-cli/issues/3404#event-1628996376
miroslavaivanovahttps://github.com/miroslavaivanova
on May 17, 2018https://github.com/NativeScript/nativescript-cli/issues/3404#event-1631760693
miroslavaivanovahttps://github.com/miroslavaivanova
ready for testhttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%22ready%20for%20test%22
on May 29, 2018https://github.com/NativeScript/nativescript-cli/issues/3404#event-1650951100
miroslavaivanovahttps://github.com/miroslavaivanova
completedhttps://github.com/NativeScript/nativescript-cli/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on May 29, 2018https://github.com/NativeScript/nativescript-cli/issues/3404#event-1650951520
Sign up for freehttps://github.com/signup?return_to=https://github.com/NativeScript/nativescript-cli/issues/3404
Sign in to commenthttps://github.com/login?return_to=https://github.com/NativeScript/nativescript-cli/issues/3404
Fatmehttps://github.com/Fatme
miroslavaivanovahttps://github.com/miroslavaivanova
featurehttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%22feature%22
4.1.0https://github.com/NativeScript/nativescript-cli/milestone/70
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.