This simple script from Jonathan Strine, Update iPod, will sync your iPod on-the-fly as long as it's connected and iTunes is on. It will only work if you have your iPod Preferences set to "Automatically update all songs and playlists" or "Automatically update selected playlists only".
Source >>